libstdc++: make common_iterator<I, S> require copyable<I> (LWG 3385)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 19 Feb 2020 21:56:29 +0000 (21:56 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 19 Feb 2020 22:11:27 +0000 (22:11 +0000)
commit1b425f3ac516f7250e9f7eac7cd4fe0908ccfa4e
tree321b3a9f62e348b0f4b194be90395d0771d1e1bb
parent7433536b3d864c0d8d5180348690e1c280a3eaf2
libstdc++: make common_iterator<I, S> require copyable<I> (LWG 3385)

* include/bits/stl_iterator.h (common_iterator): Add copyable<I>
requirement (LWG 3385).
* testsuite/24_iterators/headers/iterator/synopsis_c++20.cc: Adjust
expected declaration.
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_iterator.h
libstdc++-v3/testsuite/24_iterators/headers/iterator/synopsis_c++20.cc