]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Move down definitions of ranges::cbegin/cend/cetc
authorPatrick Palka <ppalka@redhat.com>
Fri, 14 Apr 2023 14:31:54 +0000 (10:31 -0400)
committerPatrick Palka <ppalka@redhat.com>
Fri, 14 Apr 2023 14:31:54 +0000 (10:31 -0400)
commit2ab0d83e8880fe747af3f137aef382d2d4c09e4c
tree89c3d1ac46e2f45cce36a081380071a394633006
parent7639bf34fa1942b0a56a0ba441637c1ce75e1127
libstdc++: Move down definitions of ranges::cbegin/cend/cetc

This moves down the definitions of the range const-access CPOs to after
the definition of input_range in preparation for implementing P2278R4
which redefines these CPOs in a way that indirectly uses input_range.

libstdc++-v3/ChangeLog:

* include/bits/ranges_base.h (__cust_access::__as_const)
(__cust_access::_CBegin, __cust::cbegin)
(__cust_access::_CEnd, __cust::cend)
(__cust_access::_CRBegin, __cust::crbegin)
(__cust_access::_CREnd, __cust::crend)
(__cust_access::_CData, __cust::cdata): Move down definitions to
shortly after the definition of input_range.
libstdc++-v3/include/bits/ranges_base.h
This page took 0.057214 seconds and 6 git commands to generate.