aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-struct-field-expr.cc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2025-07-14 11:13:54 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2025-07-15 20:31:48 +0100
commit178dc3367643bf8a0611c7e218240d807a8d82df (patch)
tree1d4cc8ed4f59ee746240c04afe0c69793a53b76b /gcc/rust/backend/rust-compile-struct-field-expr.cc
parent72d9ed607f4c4a1dd29331b8c80805c6485f61ed (diff)
downloadgcc-178dc3367643bf8a0611c7e218240d807a8d82df.zip
gcc-178dc3367643bf8a0611c7e218240d807a8d82df.tar.gz
gcc-178dc3367643bf8a0611c7e218240d807a8d82df.tar.bz2
libstdc++: Constrain std::swap using concepts in C++20
This is a minor compile-time optimization for C++20. libstdc++-v3/ChangeLog: * include/bits/move.h (swap): Replace enable_if with concepts when available, and with __enable_if_t alias otherwise.
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.cc')
0 files changed, 0 insertions, 0 deletions