* include/bits/c++config (_GLIBCXX17_CONSTEXPR): Define. * include/bits/range_access.h (begin, end, rbegin, rend, crbegin) (crend): Add _GLIBCXX17_CONSTEXPR as per P0031R0. * include/bits/stl_iterator.h (reverse_iterator, move_iterator) (__make_reverse_iterator, make_reverse_iterator, make_move_iterator): Likewise. * include/bits/stl_iterator_base_funcs.h (__distance, __advance): Add _GLIBCXX14_CONSTEXPR. (distance, advance, next, prev): Add _GLIBCXX17_CONSTEXPR. * include/std/array (array::begin, array::end, array::rbegin) (array::rend, array::cbegin, array:cend, array::crbegin) (array::crend, array::operator[], array::at, array::front) (array::back, array::data): Likewise. * testsuite/24_iterators/headers/iterator/range_access.cc: Replace with separate tests for C++11, C++14, and C++17. * testsuite/24_iterators/headers/iterator/range_access_c++11.cc: New. * testsuite/24_iterators/headers/iterator/range_access_c++14.cc: New. * testsuite/24_iterators/headers/iterator/range_access_c++17.cc: New. From-SVN: r239690
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| array_allocator | Loading commit data... | |
| bitmap_allocator | Loading commit data... | |
| codecvt | Loading commit data... | |
| concurrence_lock_error | Loading commit data... | |
| concurrence_unlock_error | Loading commit data... | |
| debug_allocator | Loading commit data... | |
| enc_filebuf | Loading commit data... | |
| ext_pointer | Loading commit data... | |
| forced_error | Loading commit data... | |
| iota | Loading commit data... | |
| is_heap | Loading commit data... | |
| is_sorted | Loading commit data... | |
| malloc_allocator | Loading commit data... | |
| mt_allocator | Loading commit data... | |
| new_allocator | Loading commit data... | |
| numeric_traits | Loading commit data... | |
| pb_ds | Loading commit data... | |
| pool_allocator | Loading commit data... | |
| profile | Loading commit data... | |
| random | Loading commit data... | |
| rope | Loading commit data... | |
| slist | Loading commit data... | |
| special_functions | Loading commit data... | |
| stdio_filebuf | Loading commit data... | |
| stdio_sync_filebuf | Loading commit data... | |
| throw_allocator | Loading commit data... | |
| throw_value | Loading commit data... | |
| type_traits | Loading commit data... | |
| vstring | Loading commit data... | |
| concept_checks.cc | Loading commit data... | |
| headers.cc | Loading commit data... | |
| median.cc | Loading commit data... | |
| pod_char_traits.cc | Loading commit data... |