aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parser.c
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2010-12-06 18:37:00 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2010-12-06 18:37:00 +0000
commit403b89a8748380041c49f82d1ad7dee67a4e4255 (patch)
treeb9e903cb6d869e8a11d09c4485cbd07e3f658272 /gcc/c-parser.c
parent1cd7d53fc3b9b2b747195874f584b3405299e62d (diff)
downloadgcc-403b89a8748380041c49f82d1ad7dee67a4e4255.zip
gcc-403b89a8748380041c49f82d1ad7dee67a4e4255.tar.gz
gcc-403b89a8748380041c49f82d1ad7dee67a4e4255.tar.bz2
shared_ptr.h (shared_ptr<>::shared_ptr(_Tp1*, _Deleter, const _Alloc&), [...]): Take the allocator by value, per N3225.
2010-12-06 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/shared_ptr.h (shared_ptr<>::shared_ptr(_Tp1*, _Deleter, const _Alloc&), shared_ptr(nullptr_t, _Deleter, const _Alloc&)): Take the allocator by value, per N3225. (shared_ptr<>::shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...), allocate_shared(_Alloc, _Args&&...): Viceversa, take the allocator by const lvalue ref. * include/bits/shared_ptr_base.h (__shared_count<>:: __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...), __shared_ptr<>::__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...), __allocate_shared(_Alloc, _Args&&...)): Likewise. (__shared_ptr<>::__shared_ptr(_Tp1*, _Deleter, const _Alloc&), __shared_ptr(nullptr_t, _Deleter, const _Alloc&), reset(_Tp1*, _Deleter, const _Alloc&)): Take the allocator by value. * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error line numbers. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise. From-SVN: r167510
Diffstat (limited to 'gcc/c-parser.c')
0 files changed, 0 insertions, 0 deletions