diff options
author | Ken Matsui <kmatsui@gcc.gnu.org> | 2024-02-19 18:13:01 -0800 |
---|---|---|
committer | Ken Matsui <kmatsui@gcc.gnu.org> | 2024-06-13 05:56:53 -0700 |
commit | dbb26feeb67d033d9dff51042044997aa5db9226 (patch) | |
tree | 5f49b8b986b84832599c0fec1c6a2230b6a3f39b /gcc | |
parent | 6f0dfa6f1acdf78d764d6f5d6f53c2f2a768c047 (diff) | |
download | gcc-dbb26feeb67d033d9dff51042044997aa5db9226.zip gcc-dbb26feeb67d033d9dff51042044997aa5db9226.tar.gz gcc-dbb26feeb67d033d9dff51042044997aa5db9226.tar.bz2 |
libstdc++: Optimize std::is_invocable compilation performance
This patch optimizes the compilation performance of std::is_invocable
by dispatching to the new __is_invocable built-in trait.
libstdc++-v3/ChangeLog:
* include/std/type_traits (is_invocable): Use __is_invocable
built-in trait.
* testsuite/20_util/is_invocable/incomplete_args_neg.cc: Handle
the new error from __is_invocable.
* testsuite/20_util/is_invocable/incomplete_neg.cc: Likewise.
Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org>
Reviewed-by: Patrick Palka <ppalka@redhat.com>
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions