aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2014-11-12 19:41:36 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2014-11-12 19:41:36 +0000
commitd8af84e67b08377cf813eb4d4bbf8ae2e8226fa1 (patch)
tree3e204d7b474dd6286194676bad64a5cf2b9c3f37 /gcc
parent3e147937eac9eb182c419a4bd4f5155b341d7188 (diff)
downloadgcc-d8af84e67b08377cf813eb4d4bbf8ae2e8226fa1.zip
gcc-d8af84e67b08377cf813eb4d4bbf8ae2e8226fa1.tar.gz
gcc-d8af84e67b08377cf813eb4d4bbf8ae2e8226fa1.tar.bz2
Implement resolutions of LWG 2399, 2400 and 2401.
* include/bits/shared_ptr.h (shared_ptr, weak_ptr): Define _Convertible alias template to simplify constraints. (shared_ptr(unique_ptr<TD>&&)): Constrain (LWG 2399). * include/bits/shared_ptr_base.h: Likewise. (_Sp_counted_deleter::_M_get_deleter()): Use addressof (LWG 2400). * include/std/functional (function::operator=(nullptr_t)): Add noexcept (LWG 2401). * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error. * testsuite/20_util/shared_ptr/cons/void_neg.cc: Adjust dg-error. From-SVN: r217442
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions