diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-12-12 09:31:01 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-12-12 09:31:01 +0100 |
commit | 0d7924f2e766834e4fec84ff093f4c355fea6be1 (patch) | |
tree | 93795a415d66bf514bcedfb5b91ef21766532313 /libbacktrace/allocfail.c | |
parent | cce3ae91f21f185756f604f529501810d8025f37 (diff) | |
download | gcc-0d7924f2e766834e4fec84ff093f4c355fea6be1.zip gcc-0d7924f2e766834e4fec84ff093f4c355fea6be1.tar.gz gcc-0d7924f2e766834e4fec84ff093f4c355fea6be1.tar.bz2 |
P0595R2 - is_constant_evaluated
P0595R2 - is_constant_evaluated
* include/bits/c++config (_GLIBCXX_HAVE_BUILTIN_IS_CONSTANT_EVALUATED):
Define if __builtin_is_constant_evaluated is available.
* include/std/type_traits (std::is_constant_evaluated): New constexpr
inline function.
* testsuite/20_util/is_constant_evaluated/1.cc: New test.
* testsuite/20_util/is_constant_evaluated/noexcept.cc: New test.
From-SVN: r267045
Diffstat (limited to 'libbacktrace/allocfail.c')
0 files changed, 0 insertions, 0 deletions