diff options
author | Ken Matsui <kmatsui@gcc.gnu.org> | 2023-03-25 04:23:19 -0700 |
---|---|---|
committer | Ken Matsui <kmatsui@gcc.gnu.org> | 2023-12-16 08:59:36 -0800 |
commit | e86cfcaef246331ee7956dd86c156d594768fe70 (patch) | |
tree | 04a6f6d66e16828c65ee72dfdd653a78b804824f /libphobos | |
parent | fa454b8dd0346a1821338e2cfcf27c9cff0f1b5c (diff) | |
download | gcc-e86cfcaef246331ee7956dd86c156d594768fe70.zip gcc-e86cfcaef246331ee7956dd86c156d594768fe70.tar.gz gcc-e86cfcaef246331ee7956dd86c156d594768fe70.tar.bz2 |
libstdc++: Optimize std::is_reference compilation performance
This patch optimizes the compilation performance of std::is_reference
by dispatching to the new __is_reference built-in trait.
libstdc++-v3/ChangeLog:
* include/std/type_traits (is_reference): Use __is_reference
built-in trait.
(is_reference_v): Likewise.
Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org>
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'libphobos')
0 files changed, 0 insertions, 0 deletions