gcc/libstdc++-v3/include/std
Jakub Jelinek 0d7924f2e7 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
2018-12-12 09:31:01 +01:00
..
algorithm Update copyright years. 2018-01-03 11:03:58 +01:00
any Define std::remove_cvref and std::remove_cvref_t for C++2a 2018-05-03 13:40:10 +01:00
array Update copyright years. 2018-01-03 11:03:58 +01:00
atomic re PR libstdc++/54005 (Use __atomic_always_lock_free in libstdc++ is_lock_free instead of __atomic_is_lock_free) 2018-11-11 22:20:19 +00:00
bit Avoid undefined shifts in ceil2 operations 2018-08-30 16:07:35 +01:00
bitset Define special members as defaulted 2018-06-08 17:43:14 +01:00
charconv Update copyright years. 2018-01-03 11:03:58 +01:00
chrono Simplify overflow checks in duration literals 2018-08-14 14:55:21 +01:00
codecvt Remove char16_t and char32_t dependency on <stdint.h> 2018-07-26 15:02:01 +01:00
complex PR libstdc++/88341 - Complex norm doesn't compile with C++11 2018-12-04 16:26:39 +00:00
condition_variable Use steady_clock to implement condition_variable::wait_for with predicate 2018-09-25 15:59:27 +01:00
deque The remainder of the Pre-emptively support P0646R1 for std container erasure. 2018-11-30 16:13:29 +00:00
filesystem Update copyright years. 2018-01-03 11:03:58 +01:00
forward_list Pre-emptively support P0646R1 for std container erasure. 2018-11-30 16:12:13 +00:00
fstream Add support for opening file streams from wide character strings 2018-05-21 18:18:35 +01:00
functional PR libstdc++/87538 fix std::not_fn exception specifications 2018-10-08 13:07:22 +01:00
future Remove <chrono> dependency on _GLIBCXX_USE_C99_STDINT_TR1 2018-07-26 15:01:55 +01:00
iomanip PR libstdc++/86008 add std::quoted support for string_view 2018-06-06 07:05:07 +01:00
ios Update copyright years. 2018-01-03 11:03:58 +01:00
iosfwd Update copyright years. 2018-01-03 11:03:58 +01:00
iostream Update copyright years. 2018-01-03 11:03:58 +01:00
istream Update copyright years. 2018-01-03 11:03:58 +01:00
iterator Update copyright years. 2018-01-03 11:03:58 +01:00
limits Update copyright years. 2018-01-03 11:03:58 +01:00
list Pre-emptively support P0646R1 for std container erasure. 2018-11-30 16:12:13 +00:00
locale Update copyright years. 2018-01-03 11:03:58 +01:00
map Pre-emptively support P0646R1 for std container erasure. 2018-11-30 16:12:13 +00:00
memory Implement P1007R3 std::assume_aligned 2018-11-11 05:16:51 +00:00
memory_resource PR libstdc++/88111 Make maximum block size depend on size_t width 2018-11-21 18:40:55 +00:00
mutex Remove <chrono> dependency on _GLIBCXX_USE_C99_STDINT_TR1 2018-07-26 15:01:55 +01:00
numeric Update copyright years. 2018-01-03 11:03:58 +01:00
optional re PR libstdc++/87855 (std::optional<T> only copy-constructible if T is trivially copy-constructible) 2018-11-19 17:05:18 +02:00
ostream Avoid deprecation warning with -Wsystem-headers 2018-08-16 17:56:40 +01:00
queue Update copyright years. 2018-01-03 11:03:58 +01:00
random Update copyright years. 2018-01-03 11:03:58 +01:00
ratio Remove <chrono> dependency on _GLIBCXX_USE_C99_STDINT_TR1 2018-07-26 15:01:55 +01:00
regex PR libstdc++/87061 remove pmr type aliases for COW strings 2018-08-22 23:54:33 +01:00
scoped_allocator Refactor uses-allocator construction 2018-08-15 20:20:02 +01:00
set Pre-emptively support P0646R1 for std container erasure. 2018-11-30 16:12:13 +00:00
shared_mutex Implement std::pmr::synchronized_pool_resource 2018-11-17 23:35:44 +00:00
sstream P0935R0 Eradicating unnecessarily explicit default constructors 2018-07-06 13:39:02 +01:00
stack Update copyright years. 2018-01-03 11:03:58 +01:00
stdexcept PR libstdc++/85831 define move constructors and operators for exceptions 2018-07-05 22:29:51 +01:00
streambuf Update copyright years. 2018-01-03 11:03:58 +01:00
string Pre-emptively support P0646R1 for std container erasure. 2018-11-30 16:12:13 +00:00
string_view Implement P0457R2 String Prefix and Suffix Checking. 2018-11-30 16:26:02 +00:00
system_error Some libstdc++ fixes for -Wdeprecated-copy. 2018-05-18 16:02:14 -04:00
thread Remove <chrono> dependency on _GLIBCXX_USE_C99_STDINT_TR1 2018-07-26 15:01:55 +01:00
tuple PR libstdc++/86963 Remove use of __tuple_base in std::tuple 2018-08-20 14:53:56 +01:00
type_traits P0595R2 - is_constant_evaluated 2018-12-12 09:31:01 +01:00
typeindex Update copyright years. 2018-01-03 11:03:58 +01:00
unordered_map Pre-emptively support P0646R1 for std container erasure. 2018-11-30 16:12:13 +00:00
unordered_set Pre-emptively support P0646R1 for std container erasure. 2018-11-30 16:12:13 +00:00
utility Remove unused <exception> header from <utility> 2018-06-19 18:19:16 +01:00
valarray LWG 3074 make scalar types non-deduced in valarray non-member functions 2018-06-14 20:36:54 +01:00
variant re PR libstdc++/87619 (sizeof(std::variant) can be reduced if its variant_size is UCHAR_MAX) 2018-10-17 22:08:51 +03:00
vector Pre-emptively support P0646R1 for std container erasure. 2018-11-30 16:12:13 +00:00
version Implement std::pmr::synchronized_pool_resource 2018-11-17 23:35:44 +00:00