diff options
author | Jason Merrill <jason@redhat.com> | 2018-05-18 16:02:14 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2018-05-18 16:02:14 -0400 |
commit | f07c22376848e9923aa8455d2c0a059d9d0e01d5 (patch) | |
tree | 06ecc73f75acf598f7943b6ed86b6357e68cbdba /gcc/cp/init.c | |
parent | 1261e77e53cb834ad5aedfe185acd37a2511292a (diff) | |
download | gcc-f07c22376848e9923aa8455d2c0a059d9d0e01d5.zip gcc-f07c22376848e9923aa8455d2c0a059d9d0e01d5.tar.gz gcc-f07c22376848e9923aa8455d2c0a059d9d0e01d5.tar.bz2 |
Some libstdc++ fixes for -Wdeprecated-copy.
* include/bits/stl_deque.h (_Deque_iterator): Constrain constructor
for conversion to const_iterator. Add defaulted copy ops.
* libsupc++/new (bad_alloc): Add defaulted copy ops.
* libsupc++/exception.h (exception): Add defaulted copy ops.
* include/std/system_error (system_error): Add defaulted copy ops.
* include/std/stdexcept (domain_error, invalid_argument)
(length_error, out_of_range, range_error, overflow_error)
(underflow_error): Add defaulted copy ops.
* include/bits/stl_iterator.h (reverse_iterator): Add defaulted
copy assignment.
* include/bits/allocator.h (allocator): Add defaulted copy assignment.
* include/ext/throw_allocator.h (condition_base): Add defaulted
default and copy ctor and copy assignment.
From-SVN: r260380
Diffstat (limited to 'gcc/cp/init.c')
0 files changed, 0 insertions, 0 deletions