r275594 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Tue Sep 10 16:28:00 GMT 2019


Author: redi
Date: Tue Sep 10 16:28:27 2019
New Revision: 275594

URL: https://gcc.gnu.org/viewcvs?rev=275594&root=gcc&view=rev
Log:
Implement std::common_reference for C++20

	* include/std/type_traits (__do_common_type_impl): Implement
	additional COND-RES(CREF(D1), CRED(D2)) condition for C++20.
	(basic_common_reference, common_reference, common_reference_t): Define
	for C++20.
	* testsuite/20_util/common_reference/requirements/alias_decl.cc: New
	test.
	* testsuite/20_util/common_reference/requirements/
	explicit_instantiation.cc: New test.
	* testsuite/20_util/common_reference/requirements/typedefs.cc: New
	test.

Added:
    trunk/libstdc++-v3/testsuite/20_util/common_reference/
    trunk/libstdc++-v3/testsuite/20_util/common_reference/requirements/
    trunk/libstdc++-v3/testsuite/20_util/common_reference/requirements/alias_decl.cc
    trunk/libstdc++-v3/testsuite/20_util/common_reference/requirements/explicit_instantiation.cc
    trunk/libstdc++-v3/testsuite/20_util/common_reference/requirements/typedefs.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/type_traits



More information about the Libstdc++-cvs mailing list