]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Optimize std::is_scoped_enum compilation performance
authorKen Matsui <kmatsui@gcc.gnu.org>
Tue, 12 Sep 2023 00:14:32 +0000 (17:14 -0700)
committerKen Matsui <kmatsui@gcc.gnu.org>
Sat, 16 Dec 2023 16:59:32 +0000 (08:59 -0800)
commit4a235f8eb0f19292c007c4374d6b48ab01667a3b
treeedb2ae14247abf619aea97462834a18fa38350a5
parent8843cff6c98cb0789a1ec6f51be6c5122fc1b5e9
libstdc++: Optimize std::is_scoped_enum compilation performance

This patch optimizes the compilation performance of std::is_scoped_enum
by dispatching to the new __is_scoped_enum built-in trait.

libstdc++-v3/ChangeLog:

* include/std/type_traits (is_scoped_enum): Use
__is_scoped_enum built-in trait.
(is_scoped_enum_v): Likewise.

Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org>
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/include/std/type_traits
This page took 0.053448 seconds and 5 git commands to generate.