This is the mail archive of the libstdc++-cvs@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r181171 - in /trunk/libstdc++-v3: ChangeLog inc...


Author: redi
Date: Tue Nov  8 16:45:54 2011
New Revision: 181171

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181171
Log:
	* 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.

Added:
    trunk/libstdc++-v3/testsuite/20_util/shared_ptr/cons/alloc_min.cc
    trunk/libstdc++-v3/testsuite/20_util/shared_ptr/creation/alloc_min.cc
    trunk/libstdc++-v3/testsuite/20_util/shared_ptr/creation/private.cc
    trunk/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc_min.cc
    trunk/libstdc++-v3/testsuite/30_threads/promise/cons/alloc_min.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/shared_ptr_base.h
    trunk/libstdc++-v3/include/std/future
    trunk/libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]