diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2014-06-25 21:54:46 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2014-06-25 21:54:46 +0100 |
commit | b925bf594a3a5ca47975efa1c52d794c0c776373 (patch) | |
tree | 9814c386214bbf28f714ae8aea45ac46a3ee273c /gcc/gcc.c | |
parent | 484dc5996f12cadb01e01e224541f4ae693f0b6c (diff) | |
download | gcc-b925bf594a3a5ca47975efa1c52d794c0c776373.zip gcc-b925bf594a3a5ca47975efa1c52d794c0c776373.tar.gz gcc-b925bf594a3a5ca47975efa1c52d794c0c776373.tar.bz2 |
Makefile.am: Add new header.
* include/Makefile.am: Add new header.
* include/Makefile.in: Regenerate.
* include/bits/allocated_ptr.h (__allocated_ptr, __allocate_guarded):
New RAII utilities for working with allocators.
* include/bits/shared_ptr_base.h (_Sp_counted_deleter): Define
__allocator_type typedef and use new __allocated_ptr type.
(_Sp_counted_ptr_inplace): Likewise.
(__shared_count::__shared_count, __shared_ptr::__shared_ptr): Use
__allocate_guarded to to simplify exception handling.
* include/experimental/any (any::_Manager_alloc::_S_alloc): Likewise.
* include/std/future (_Result_alloc::_M_destroy): Likewise.
(_Result_alloc::_S_allocate_result): Likewise.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line number.
* testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
* testsuite/20_util/shared_ptr/creation/no_rtti.cc: New.
* testsuite/20_util/shared_ptr/creation/alloc.cc: Test allocator
with fancy pointer.
* testsuite/30_threads/promise/cons/alloc.cc: Likewise.
From-SVN: r211996
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions