-
- Downloads
shared_ptr_base.h (_Sp_counted_ptr): Make 'final'.
* include/bits/shared_ptr_base.h (_Sp_counted_ptr): Make 'final'. (_Sp_counted_deleter): Make 'final'. Use allocator_traits. (_Sp_counted_ptr_inplace): Make 'final'. Use allocator_traits. Derive from _Sp_counted_ptr instead of _Sp_counted_deleter to use EBO for the allocator. (__shared_count, __shared_ptr): Use allocator_traits. * include/std/future (__future_base::_Result_alloc): Make 'final'. Use allocator traits. (__future_base::_Task_state): Make 'final'. (__future_base::_Deferred_state): Likewise. (__future_base::_Async_state): Likewise. * testsuite/20_util/shared_ptr/cons/alloc_min.cc: New. * testsuite/20_util/shared_ptr/creation/alloc_min.cc: New. * testsuite/20_util/shared_ptr/creation/private.cc: New. * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers. * testsuite/30_threads/packaged_task/cons/alloc_min.cc: New. * testsuite/30_threads/promise/cons/alloc_min.cc: New. From-SVN: r181171
Showing
- libstdc++-v3/ChangeLog 20 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/shared_ptr_base.h 73 additions, 65 deletionslibstdc++-v3/include/bits/shared_ptr_base.h
- libstdc++-v3/include/std/future 17 additions, 12 deletionslibstdc++-v3/include/std/future
- libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc 2 additions, 2 deletionslibstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc
- libstdc++-v3/testsuite/20_util/shared_ptr/cons/alloc_min.cc 35 additions, 0 deletionslibstdc++-v3/testsuite/20_util/shared_ptr/cons/alloc_min.cc
- libstdc++-v3/testsuite/20_util/shared_ptr/creation/alloc_min.cc 34 additions, 0 deletions...c++-v3/testsuite/20_util/shared_ptr/creation/alloc_min.cc
- libstdc++-v3/testsuite/20_util/shared_ptr/creation/private.cc 52 additions, 0 deletions...tdc++-v3/testsuite/20_util/shared_ptr/creation/private.cc
- libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc_min.cc 34 additions, 0 deletions...+-v3/testsuite/30_threads/packaged_task/cons/alloc_min.cc
- libstdc++-v3/testsuite/30_threads/promise/cons/alloc_min.cc 40 additions, 0 deletionslibstdc++-v3/testsuite/30_threads/promise/cons/alloc_min.cc
Loading
Please register or sign in to comment