diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-10-11 16:53:44 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-10-11 16:53:44 +0100 |
commit | 02f6fdff65671ccfaf2f79092ccdfccdef1bcebf (patch) | |
tree | 508378686454dfbed782d893175443b4b2a061cb /libstdc++-v3/include/std/concepts | |
parent | 07758d90c7bc6b80b10a83bac52f9ab9e394131d (diff) | |
download | gcc-02f6fdff65671ccfaf2f79092ccdfccdef1bcebf.zip gcc-02f6fdff65671ccfaf2f79092ccdfccdef1bcebf.tar.gz gcc-02f6fdff65671ccfaf2f79092ccdfccdef1bcebf.tar.bz2 |
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.
From-SVN: r276891
Diffstat (limited to 'libstdc++-v3/include/std/concepts')
0 files changed, 0 insertions, 0 deletions