aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppbuiltin.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2014-11-12 11:54:08 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2014-11-12 11:54:08 +0000
commitf871d7f9f458d833fc2c388d2756a7a82cf2be40 (patch)
treece45a32b179858152f2c04deda5517a3b88788d2 /gcc/cppbuiltin.c
parent098c88fb10cb10d63dc3b64b09116af0f95a4a82 (diff)
downloadgcc-f871d7f9f458d833fc2c388d2756a7a82cf2be40.zip
gcc-f871d7f9f458d833fc2c388d2756a7a82cf2be40.tar.gz
gcc-f871d7f9f458d833fc2c388d2756a7a82cf2be40.tar.bz2
LWG DR 2315. weak_ptr should be movable
* include/bits/shared_ptr.h (weak_ptr): Add move constructor and assignment. * include/bits/shared_ptr_base.h (__weak_count, __weak_ptr): Likewise. Use nullptr and injected class name. * 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: r217413
Diffstat (limited to 'gcc/cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions