gcc/libstdc++-v3/include
Jonathan Wakely 61bf02e007 re PR libstdc++/58659 (Construction of shared_ptr from unique_ptr mismatches new/delete and std::allocator for __shared_ptr_count)
PR libstdc++/58659
	* include/bits/shared_ptr_base.h (__shared_count::__shared_count(P,D)):
	Delegate to constructor taking allocator.
	(__shared_count::_S_create_from_up): Inline into ...
	(__shared_count::__shared_count(unique_ptr<Y,D>&&): Here. Use
	std::conditional instead of constrained overloads. Allocate memory
	using the allocator type that will be used for deallocation.
	* testsuite/20_util/shared_ptr/cons/58659.cc: New.
	* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust.

From-SVN: r203274
2013-10-08 13:33:37 +01:00
..
backward
bits re PR libstdc++/58659 (Construction of shared_ptr from unique_ptr mismatches new/delete and std::allocator for __shared_ptr_count) 2013-10-08 13:33:37 +01:00
c
c_compatibility
c_global re PR libstdc++/58625 (std::signbit always converts to double) 2013-10-06 13:44:47 +00:00
c_std
debug re PR libstdc++/58338 (Add noexcept to functions with a narrow contract) 2013-09-25 20:28:12 +00:00
decimal
ext
parallel algobase.h (mismatch, equal): Provide parallel version for N3671 overloads. 2013-10-01 19:35:01 +00:00
precompiled
profile re PR libstdc++/58338 (Add noexcept to functions with a narrow contract) 2013-09-25 20:28:12 +00:00
std re PR libstdc++/58604 (Text truncation in comments of /usr/include/c++/4.7/vector) 2013-10-03 20:33:05 +00:00
tr1
tr2
Makefile.am predefined_ops.h: New. 2013-09-27 21:17:36 +00:00
Makefile.in predefined_ops.h: New. 2013-09-27 21:17:36 +00:00