diff options
author | Ken Matsui <kmatsui@gcc.gnu.org> | 2024-02-21 00:49:10 -0800 |
---|---|---|
committer | Ken Matsui <kmatsui@gcc.gnu.org> | 2024-06-13 05:57:01 -0700 |
commit | 3060e9230264d60be349414285c361b7d32f233c (patch) | |
tree | fcf0335be5b78a325bd7b92ba15a8921db51f376 /gcc | |
parent | dbb26feeb67d033d9dff51042044997aa5db9226 (diff) | |
download | gcc-3060e9230264d60be349414285c361b7d32f233c.zip gcc-3060e9230264d60be349414285c361b7d32f233c.tar.gz gcc-3060e9230264d60be349414285c361b7d32f233c.tar.bz2 |
libstdc++: Optimize std::is_nothrow_invocable compilation performance
This patch optimizes the compilation performance of
std::is_nothrow_invocable by dispatching to the new
__is_nothrow_invocable built-in trait.
libstdc++-v3/ChangeLog:
* include/std/type_traits (is_nothrow_invocable): Use
__is_nothrow_invocable built-in trait.
* testsuite/20_util/is_nothrow_invocable/incomplete_args_neg.cc:
Handle the new error from __is_nothrow_invocable.
* testsuite/20_util/is_nothrow_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