r276891 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Fri Oct 11 15:53:00 GMT 2019
Author: redi
Date: Fri Oct 11 15:53:44 2019
New Revision: 276891
URL: https://gcc.gnu.org/viewcvs?rev=276891&root=gcc&view=rev
Log:
Use __is_same_as for std::is_same and std::is_same_v
By using the built-in we don't need to match a partial specialization
for std::is_same and don't need to instantiate std::is_same at all for
uses of std::is_same_v.
* include/std/type_traits (is_same): Replace partial specialization
by using __is_same_as built-in in primary template.
(is_same_v): Use __is_same_as built-in instead of instantiating the
is_same trait.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/type_traits
More information about the Libstdc++-cvs
mailing list