aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-09-02 11:29:13 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-09-03 16:18:21 +0100
commit819deae0a5bee079a7d5582fafaa098c26144ae8 (patch)
tree09edba824ed1b572a63031652ce85cfa9a32d716 /gcc/expr.cc
parentef0c4482ca8069fa56e8d359dbdc6168be499f69 (diff)
downloadgcc-819deae0a5bee079a7d5582fafaa098c26144ae8.zip
gcc-819deae0a5bee079a7d5582fafaa098c26144ae8.tar.gz
gcc-819deae0a5bee079a7d5582fafaa098c26144ae8.tar.bz2
libstdc++: Specialize std::disable_sized_sentinel_for for std::move_iterator [PR116549]
LWG 3736 added a partial specialization of this variable template for two std::move_iterator types. This is needed for the case where the types satisfy std::sentinel_for and are subtractable, but do not model the semantics requirements of std::sized_sentinel_for. libstdc++-v3/ChangeLog: PR libstdc++/116549 * include/bits/stl_iterator.h (disable_sized_sentinel_for): Define specialization for two move_iterator types, as per LWG 3736. * testsuite/24_iterators/move_iterator/lwg3736.cc: New test.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions