gcc/libstdc++-v3/testsuite/20_util/remove_cvref
Jonathan Wakely 43d3309d98 libstdc++: Fix definition of std::remove_cvref_t
I originally defined std::remove_cvref_t in terms of the internal
__remove_cvref_t trait, to avoid instantiating the remove_cvref class
template. However, as described in P1715R0 that is observable by users
and is thus non-conforming.

This defines remove_cvref_t as specified in the standard.

libstdc++-v3/ChangeLog:

	* include/std/type_traits (remove_cvref_t): Define in terms of
	remove_cvref.
	* testsuite/20_util/remove_cvref/value.cc: Check alias.

(cherry picked from commit 0e79e63026)
2021-05-11 20:50:06 +01:00
..
requirements Update copyright years. 2021-01-04 10:26:59 +01:00
value_ext.cc Update copyright years. 2021-01-04 10:26:59 +01:00
value.cc libstdc++: Fix definition of std::remove_cvref_t 2021-05-11 20:50:06 +01:00