gcc/libstdc++-v3
Jonathan Wakely 44af818f00 Only use GCC-specific __is_same_as built-in conditionally
Clang doesn't support __is_same_as but provides __is_same instead.
Restore the original implementation (pre r276891) when neither of those
built-ins is available.

	* include/bits/c++config (_GLIBCXX_BUILTIN_IS_SAME_AS): Define to
	one of __is_same_as or __is_same when available.
	* include/std/concepts (__detail::__same_as): Use std::is_same_v.
	* include/std/type_traits (is_same) [_GLIBCXX_BUILTIN_IS_SAME_AS]:
	Use new macro instead of __is_same_as.
	(is_same) [!_GLIBCXX_BUILTIN_IS_SAME_AS]: Restore partial
	specialization.
	(is_same_v) [_GLIBCXX_BUILTIN_IS_SAME_AS]: Use new macro.
	(is_same_v) [!_GLIBCXX_BUILTIN_IS_SAME_AS]: Use std::is_same.

From-SVN: r277058
2019-10-16 11:26:05 +01:00
..
config Remove greedy wildcards from libstdc++ linker script 2019-10-02 16:52:41 +01:00
doc Add makefile target to update HTML files in source tree 2019-10-08 12:01:44 +01:00
include Only use GCC-specific __is_same_as built-in conditionally 2019-10-16 11:26:05 +01:00
libsupc++
po
python Fix Xmethod for shared_ptr::use_count() 2019-09-11 12:38:23 +01:00
scripts Implement <concepts> header for C++20 2019-10-11 16:53:52 +01:00
src [_GLIBCXX_DEBUG] Clarify constness and state <unknown> entries. 2019-10-16 05:05:27 +00:00
testsuite Implement <concepts> header for C++20 2019-10-11 16:53:52 +01:00
acinclude.m4
aclocal.m4
ChangeLog Only use GCC-specific __is_same_as built-in conditionally 2019-10-16 11:26:05 +01:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
config.h.in Build filesystem library with large file support 2019-10-04 16:08:23 +01:00
configure Build filesystem library with large file support 2019-10-04 16:08:23 +01:00
configure.ac Build filesystem library with large file support 2019-10-04 16:08:23 +01:00
configure.host
crossconfig.m4
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.