r277338 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Wed Oct 23 16:14:00 GMT 2019
Author: redi
Date: Wed Oct 23 16:14:50 2019
New Revision: 277338
URL: https://gcc.gnu.org/viewcvs?rev=277338&root=gcc&view=rev
Log:
Only qualify function as constexpr for C++14 and later
This helper function is not a valid constexpr function in C++11, so
should only be marked constexpr for C++14 and later.
* include/debug/helper_functions.h (__valid_range): Change
_GLIBCXX_CONSTEXPR to _GLIBCXX14_CONSTEXPR.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/debug/helper_functions.h
More information about the Libstdc++-cvs
mailing list