gcc/libstdc++-v3/include/std
Jonathan Wakely 373c726ec6 PR libstdc++/89102 fix common_type<> and common_type<T> specializations
This is a partial implementation of the revised std::common_type rules
from P0435R1.

	PR libstdc++/89102 (partial)
	* include/std/type_traits (common_type<>): Define.
	(common_type<T>): Derive from common_type<T, T>.
	* testsuite/20_util/common_type/requirements/explicit_instantiation.cc:
	Test zero-length template argument list.
	* testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc:
	Test additional single argument cases.
	* testsuite/20_util/common_type/requirements/sfinae_friendly_2.cc:
	Adjust expected error.

From-SVN: r268586
2019-02-06 17:25:26 +00:00
..
algorithm Update copyright years. 2019-01-01 13:31:55 +01:00
any Fix missing or incorrect feature test macros 2019-01-15 12:01:12 +00:00
array Fix after P0600. 2019-01-21 11:47:30 +00:00
atomic Update copyright years. 2019-01-01 13:31:55 +01:00
bit Update copyright years. 2019-01-01 13:31:55 +01:00
bitset Update copyright years. 2019-01-01 13:31:55 +01:00
charconv Update copyright years. 2019-01-01 13:31:55 +01:00
chrono P0972R0 <chrono> zero(), min(), and max() should be noexcept 2019-01-11 23:41:05 +00:00
codecvt Update copyright years. 2019-01-01 13:31:55 +01:00
complex Update copyright years. 2019-01-01 13:31:55 +01:00
condition_variable Update copyright years. 2019-01-01 13:31:55 +01:00
deque Define __cpp_lib_erase_if feature test macro 2019-01-10 13:49:31 +00:00
filesystem Update copyright years. 2019-01-01 13:31:55 +01:00
forward_list Avoid ambiguity between C++2a std::erase_if and LFTS version 2019-01-29 00:47:38 +00:00
fstream Update copyright years. 2019-01-01 13:31:55 +01:00
functional Update copyright years. 2019-01-01 13:31:55 +01:00
future Fix after P0600. 2019-01-21 11:47:30 +00:00
iomanip Update copyright years. 2019-01-01 13:31:55 +01:00
ios Update copyright years. 2019-01-01 13:31:55 +01:00
iosfwd Update copyright years. 2019-01-01 13:31:55 +01:00
iostream Update copyright years. 2019-01-01 13:31:55 +01:00
istream Update copyright years. 2019-01-01 13:31:55 +01:00
iterator Fix more missing or incorrect feature test macros 2019-01-15 12:58:19 +00:00
limits Update copyright years. 2019-01-01 13:31:55 +01:00
list Avoid ambiguity between C++2a std::erase_if and LFTS version 2019-01-29 00:47:38 +00:00
locale Update copyright years. 2019-01-01 13:31:55 +01:00
map Update copyright years. 2019-01-01 13:31:55 +01:00
memory Update copyright years. 2019-01-01 13:31:55 +01:00
memory_resource Ensure pool resources always use normal mode vector 2019-01-29 00:47:25 +00:00
mutex Update copyright years. 2019-01-01 13:31:55 +01:00
numeric Update copyright years. 2019-01-01 13:31:55 +01:00
optional Fix missing or incorrect feature test macros 2019-01-15 12:01:12 +00:00
ostream Implement LWG 2221: formatted output operator for nullptr 2019-01-10 13:14:57 +00:00
queue Update copyright years. 2019-01-01 13:31:55 +01:00
random Update copyright years. 2019-01-01 13:31:55 +01:00
ratio Update copyright years. 2019-01-01 13:31:55 +01:00
regex Update copyright years. 2019-01-01 13:31:55 +01:00
scoped_allocator Fix after P0600. 2019-01-21 11:47:30 +00:00
set Update copyright years. 2019-01-01 13:31:55 +01:00
shared_mutex Update copyright years. 2019-01-01 13:31:55 +01:00
sstream Update copyright years. 2019-01-01 13:31:55 +01:00
stack Update copyright years. 2019-01-01 13:31:55 +01:00
stdexcept Update copyright years. 2019-01-01 13:31:55 +01:00
streambuf Update copyright years. 2019-01-01 13:31:55 +01:00
string Define __cpp_lib_erase_if feature test macro 2019-01-10 13:49:31 +00:00
string_view Update copyright years. 2019-01-01 13:31:55 +01:00
system_error Update copyright years. 2019-01-01 13:31:55 +01:00
thread Update copyright years. 2019-01-01 13:31:55 +01:00
tuple Update copyright years. 2019-01-01 13:31:55 +01:00
type_traits PR libstdc++/89102 fix common_type<> and common_type<T> specializations 2019-02-06 17:25:26 +00:00
typeindex Update copyright years. 2019-01-01 13:31:55 +01:00
unordered_map Update copyright years. 2019-01-01 13:31:55 +01:00
unordered_set Update copyright years. 2019-01-01 13:31:55 +01:00
utility Update copyright years. 2019-01-01 13:31:55 +01:00
valarray Update copyright years. 2019-01-01 13:31:55 +01:00
variant Fix missing or incorrect feature test macros 2019-01-15 12:01:12 +00:00
vector Ensure pool resources always use normal mode vector 2019-01-29 00:47:25 +00:00
version Update value of __cpp_lib_shared_ptr_arrays macro 2019-01-15 13:13:11 +00:00