aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-08-08 16:24:31 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-08-09 15:19:15 +0100
commit008e439f34d4b356825a6c9b70245143f00bd353 (patch)
treec5396025519c70fb32090e0c07cdd266b601fafc /gcc
parentb9e5a4b4f035ba85b1a4065b751c2d583206b4e3 (diff)
downloadgcc-008e439f34d4b356825a6c9b70245143f00bd353.zip
gcc-008e439f34d4b356825a6c9b70245143f00bd353.tar.gz
gcc-008e439f34d4b356825a6c9b70245143f00bd353.tar.bz2
libstdc++: Explicitly default some copy ctors and assignments
The standard says that the implicit copy assignment operator is deprecated for classes that have a user-provided copy constructor, and vice versa. libstdc++-v3/ChangeLog: * include/bits/new_allocator.h (__new_allocator): Define copy assignment operator as defaulted. * include/std/complex (complex<float>, complex<double>) (complex<long double>): Define copy constructor as defaulted.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions