re PR libstdc++/67374 (std::cbegin can't call valarray range access functions)
authorJonathan Wakely <jwakely@redhat.com>
Thu, 27 Aug 2015 19:05:19 +0000 (20:05 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 27 Aug 2015 19:05:19 +0000 (20:05 +0100)
commite994d230f1a57bcad4aba0e987c60c4db496c7dd
treee9a361bcf26c31035494ce015a9b313c3190694a
parenta443ee6e5b00626b6a149da61fb6120386c83f4d
re PR libstdc++/67374 (std::cbegin can't call valarray range access functions)

PR libstdc++/67374
* include/bits/range_access.h (valarray, begin, end): Declare.
* testsuite/26_numerics/valarray/range_access.cc: Test const
overloads.
* testsuite/26_numerics/valarray/range_access2.cc: New.

From-SVN: r227274
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/range_access.h
libstdc++-v3/testsuite/26_numerics/valarray/range_access.cc
libstdc++-v3/testsuite/26_numerics/valarray/range_access2.cc [new file with mode: 0644]