]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/include/std/type_traits
libstdc++: Optimize std::remove_pointer compilation performance
authorKen Matsui <kmatsui@gcc.gnu.org>
Mon, 20 Mar 2023 21:05:48 +0000 (14:05 -0700)
committerKen Matsui <kmatsui@gcc.gnu.org>
Sat, 16 Dec 2023 16:59:40 +0000 (08:59 -0800)
commit61d6dee992fdfa350a0c6d2a8151ec6e2844c419
tree6d9367feb90a3ed5a40d3b25924dc8540a9a2519
parent4b111013654e745e8d73bd9614a15efbfd19ae8c
libstdc++: Optimize std::remove_pointer compilation performance

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

libstdc++-v3/ChangeLog:

* include/std/type_traits (remove_pointer): Use __remove_pointer
built-in trait.

Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org>
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/include/std/type_traits