range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR on overloads for arrays.
authorVille Voutilainen <ville.voutilainen@gmail.com>
Mon, 19 Jan 2015 14:37:03 +0000 (16:37 +0200)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 19 Jan 2015 14:37:03 +0000 (14:37 +0000)
commit8bae22b708305524126b9462999890242c7e809e
tree1432527859f849943601f0a946e3f3591ed05d4f
parent75f1620105d7dda4132363674b902cbb1e57e8eb
range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR on overloads for arrays.

2015-01-19  Ville Voutilainen  <ville.voutilainen@gmail.com>
    Jonathan Wakely  <jwakely@redhat.com>

* include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
on overloads for arrays.
(cbegin, cend, rbegin, rend, crbegin, crend): New.
* testsuite/24_iterators/range_access_cpp14.cc: New.

Co-Authored-By: Jonathan Wakely <jwakely@redhat.com>
From-SVN: r219846
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/range_access.h
libstdc++-v3/testsuite/24_iterators/range_access_cpp14.cc [new file with mode: 0644]