gcc/libstdc++-v3/include/experimental
Jonathan Wakely 0d67cd380d Define __type_identity_t alias and use for string_view
This defines the equivalent of C++2a's std::type_identity_t alias but
for use in C++11 and later. This can be used to replace __detail::__idt
in the string_view headers, which previously used common_type_t because
the one argument specialization of common_type_t was simply the identity
transform (which is no longer true).

	* include/experimental/string_view (__detail::__idt): Remove.
	(operator==, operator!=, operator<, operator>, operator<=, operator>=):
	Use __type_identity_t instead of __detail::__idt;
	* include/std/string_view (__detail::__idt): Remove.
	(operator==, operator!=, operator<, operator>, operator<=, operator>=):
	Use __type_identity_t instead of __detail::__idt;
	* include/std/type_traits (__type_identity_t): New alias template.

From-SVN: r273442
2019-07-12 12:43:22 +01:00
..
bits PR libstdc++/90281 Fix string conversions for filesystem::path 2019-06-17 15:19:04 +01:00
algorithm Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
any Make any_cast compare typeinfo as well as function pointers 2019-05-23 15:13:18 +01:00
array Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
buffer Improve docs for Networking TS 2019-05-02 16:46:34 +01:00
chrono Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
deque Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
executor Improve docs for Networking TS 2019-05-02 16:46:34 +01:00
filesystem Improve docs for Filesystem TS 2019-05-02 16:45:32 +01:00
forward_list Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
functional Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
internet Improve docs for Networking TS 2019-05-02 16:46:34 +01:00
io_context Improve docs for Networking TS 2019-05-02 16:46:34 +01:00
iterator Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
list Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
map Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
memory Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
memory_resource PR libstdc++/77691 fix resource_adaptor failures due to max_align_t bugs 2019-05-22 21:29:39 +01:00
net Improve docs for Networking TS 2019-05-02 16:46:34 +01:00
netfwd Improve API docs for Filesystem TS and Networking TS 2019-05-08 00:22:01 +01:00
numeric Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
optional Remove redundant __constexpr_addressof function 2019-05-02 22:23:35 +01:00
propagate_const Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
random Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
ratio Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
regex Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
set Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
socket Improve docs for Networking TS 2019-05-02 16:46:34 +01:00
source_location Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
string Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
string_view Define __type_identity_t alias and use for string_view 2019-07-12 12:43:22 +01:00
system_error Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
timer Improve docs for Networking TS 2019-05-02 16:46:34 +01:00
tuple Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
type_traits Disable -Wctor-dtor-privacy warnings for some standard types 2019-06-14 15:03:20 +01:00
unordered_map Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
unordered_set Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
utility Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
vector Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00