]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/include/std/type_traits
libstdc++: use using instead of typedef for type_traits
authorKen Matsui <kmatsui@cs.washington.edu>
Tue, 23 May 2023 19:41:14 +0000 (12:41 -0700)
committerPatrick Palka <ppalka@redhat.com>
Fri, 9 Jun 2023 17:30:39 +0000 (13:30 -0400)
commit067a8c7cb897b6a1ea5b1d26df8e89ccc7f0659c
tree7937237231990546958dbe63030c33730ea53681
parent5612aa4d06594166c0ee848dc733bb9458c1bdbf
libstdc++: use using instead of typedef for type_traits

Since the type_traits header is a C++11 header file, using can be used instead
of typedef. This patch provides more readability, especially for long type
names.

libstdc++-v3/ChangeLog:

* include/std/type_traits: Use using instead of typedef

Reviewed-by: Patrick Palka <ppalka@redhat.com>
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/include/std/type_traits