]> gcc.gnu.org Git - gcc.git/commit
Only qualify function as constexpr for C++14 and later
authorJonathan Wakely <jwakely@redhat.com>
Wed, 23 Oct 2019 16:14:50 +0000 (17:14 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 23 Oct 2019 16:14:50 +0000 (17:14 +0100)
commit30a761c4b5933dcc768fa8d5433f2a3347bcfa8e
tree0390a584a1922ec63d7c949ee63cc1dc1e0f76c8
parent84a2f4b3a64dfa377d603ee26fff99b80ed93a99
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.

From-SVN: r277338
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/helper_functions.h
This page took 0.055792 seconds and 5 git commands to generate.