gcc/libstdc++-v3/include/std
Jonathan Wakely a58a38b32c 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
2011-11-08 16:45:54 +00:00
..
algorithm algorithm: Include <utility>, per UK-300. 2009-11-13 15:06:28 +00:00
array tuple (_Head_base<>::_M_head, [...]): Change to static constexpr functions; adjust everywhere. 2011-09-13 00:06:25 +00:00
atomic Check in patch/merge from cxx-mem-model Branch 2011-11-06 14:55:48 +00:00
bitset bitset: Trivial formatting fixes. 2011-09-02 13:49:10 +00:00
chrono chrono (operator*(const _Rep1&, const duration<>&)): Fix order of template parameters per LWG 2004. 2011-08-31 10:29:31 +00:00
complex complex (complex<>::real(), [...]): Remove redundant const qualifiers. 2011-11-08 00:49:47 +00:00
condition_variable re PR libstdc++/50862 (deadlock in std::condition_variable_any) 2011-10-27 00:35:26 +01:00
deque c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
forward_list c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
fstream user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
functional tuple: Use everywhere std::size_t... 2011-09-10 00:47:02 +00:00
future shared_ptr_base.h (_Sp_counted_ptr): Make 'final'. 2011-11-08 16:45:54 +00:00
iomanip user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
ios Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
iosfwd PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
iostream PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
istream user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
iterator [multiple changes] 2010-07-27 17:27:06 +00:00
limits limits.cc: Replace everywhere __int128_t -> __int128, and __uint128_t -> unsigned __int128. 2011-09-21 11:23:11 +00:00
list c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
locale Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
map Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
memory Makefile.am: Add alloc_traits.h headers. 2011-06-22 20:57:12 +01:00
mutex mutex (call_once): Store closure in __once_functor as bound function wrapper might not be copyable. 2011-11-07 22:26:15 +00:00
numeric PR libstdc++/22634, DR 539 [Ready] 2009-12-11 17:54:37 +00:00
ostream user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
queue Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
random c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
ratio PR libstdc++/47913 (again) 2011-05-04 23:23:54 +00:00
regex [multiple changes] 2010-07-27 17:27:06 +00:00
scoped_allocator ptr_traits.h (__rebind): Replace with... 2011-11-08 00:33:45 +00:00
set Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
sstream user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stack Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
stdexcept Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
streambuf user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
string c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove. 2011-01-21 19:41:13 +00:00
system_error system_error: Use noexcept. 2011-07-20 18:17:30 +00:00
thread re PR libstdc++/49668 ([C++0x] std::thread does not forward its args as rvalues) 2011-07-09 11:13:01 +01:00
tuple tuple (make_tuple, [...]): Declare constexpr. 2011-09-16 00:41:33 +00:00
type_traits limits.cc: Replace everywhere __int128_t -> __int128, and __uint128_t -> unsigned __int128. 2011-09-21 11:23:11 +00:00
typeindex char_traits.h: Use noexcept throughout. 2011-05-21 00:05:03 +00:00
unordered_map [multiple changes] 2010-07-27 17:27:06 +00:00
unordered_set [multiple changes] 2010-07-27 17:27:06 +00:00
utility tuple (_Head_base<>::_M_head, [...]): Change to static constexpr functions; adjust everywhere. 2011-09-13 00:06:25 +00:00
valarray Makefile.am (install-freestanding-headers): Install c++0x_warning.h. 2011-11-01 00:02:45 -04:00
vector Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00