gcc/libstdc++-v3/include/bits
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
..
algorithmfwd.h
alloc_traits.h alloc_traits.h (allocator_traits::max_size()): LWG 2162: Add noexcept. 2013-06-08 18:31:40 +01:00
allocator.h re PR libstdc++/58338 (Add noexcept to functions with a narrow contract) 2013-09-20 15:50:09 +00:00
atomic_base.h Mark all member functions with memory models always inline v2 2013-05-09 04:22:11 +00:00
basic_ios.h
basic_ios.tcc
basic_string.h re PR libstdc++/58338 (Add noexcept to functions with a narrow contract) 2013-09-24 10:07:32 +00:00
basic_string.tcc
boost_concept_check.h
c++0x_warning.h
c++14_warning.h shared_mutex: Implement N3659. 2013-06-16 17:35:06 +01:00
c++config c++config (_GLIBCXX_ABI_TAG_CXX11): Add. 2013-06-10 23:11:05 +00:00
char_traits.h re PR libstdc++/57704 (std::char_traits<char>::lt is not standards-compliant) 2013-06-25 08:39:31 +00:00
codecvt.h
concept_check.h
cpp_type_traits.h type_traits.h (__is_null_pointer): Add std::nullptr_t overload. 2013-05-24 18:27:59 +00:00
deque.tcc stl_deque.h (deque<>::insert(iterator, const value_type&), [...]): Adjust C++11 signatures to take a const_iterator. 2013-06-27 09:51:21 +00:00
forward_list.h re PR libstdc++/58338 (Add noexcept to functions with a narrow contract) 2013-09-25 20:28:12 +00:00
forward_list.tcc
fstream.tcc
functexcept.h Print additional info when various out-of-range conditions are detected. 2013-09-21 19:04:13 -07:00
functional_hash.h
gslice_array.h
gslice.h
hashtable_policy.h re PR libstdc++/58338 (Add noexcept to functions with a narrow contract) 2013-09-25 20:28:12 +00:00
hashtable.h hashtable_policy.h (_Hashtable_alloc): New. 2013-08-08 09:47:29 +00:00
indirect_array.h
ios_base.h
istream.tcc
list.tcc re PR libstdc++/58338 (Add noexcept to functions with a narrow contract) 2013-09-18 11:21:51 +00:00
locale_classes.h
locale_classes.tcc
locale_facets_nonio.h
locale_facets_nonio.tcc
locale_facets.h
locale_facets.tcc
localefwd.h
mask_array.h
memoryfwd.h
move.h include/std/chrono: Collapse redundant 'inline' from 'inline constexpr'. 2013-06-01 21:39:50 +00:00
ostream_insert.h
ostream.tcc
parse_numbers.h Implement N3642 - User-defined Literals for Standard Library Types 2013-06-01 18:37:47 +00:00
postypes.h
predefined_ops.h predefined_ops.h: New. 2013-09-27 21:17:36 +00:00
ptr_traits.h
random.h re PR libstdc++/58098 (wrong return value of normal_distribution::min()) 2013-08-07 11:41:30 +00:00
random.tcc re PR libstdc++/58302 (compilation error : std::negative_binomial_distribution::operator(e, p)) 2013-09-03 10:12:19 +00:00
range_access.h
regex_automaton.h regex.h: (regex_token_iterator<>::regex_token_iterator): Fix compile error. 2013-10-06 17:53:14 +00:00
regex_automaton.tcc regex.h: (regex_token_iterator<>::regex_token_iterator): Fix compile error. 2013-10-06 17:53:14 +00:00
regex_compiler.h 2013-10-02 Tim Shen <timshen91@gmail.com> 2013-10-02 15:13:18 +00:00
regex_compiler.tcc regex.h: (regex_token_iterator<>::regex_token_iterator): Fix compile error. 2013-10-06 17:53:14 +00:00
regex_constants.h regex.h: Add friend classes. 2013-09-18 15:56:20 +00:00
regex_error.h regex_error.h: Remove _S_error_last to follow the standard. 2013-09-26 21:48:04 +00:00
regex_executor.h regex_executor.h: Add _TodoList class. 2013-10-08 03:41:14 +00:00
regex_executor.tcc regex_executor.h: Add _TodoList class. 2013-10-08 03:41:14 +00:00
regex_scanner.h regex.h: Add friend classes. 2013-09-18 15:56:20 +00:00
regex_scanner.tcc regex_scanner.tcc (_Scanner<>::_M_eat_escape_posix): Let ordinary char escaping in POSIX be valid. 2013-09-28 13:41:09 +00:00
regex.h regex.h: (regex_token_iterator<>::regex_token_iterator): Fix compile error. 2013-10-06 17:53:14 +00:00
regex.tcc regex.h: (regex_token_iterator<>::regex_token_iterator): Fix compile error. 2013-10-06 17:53:14 +00:00
shared_ptr_base.h 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
shared_ptr.h unique_ptr.h (make_unique): Declare inline. 2013-05-18 21:18:55 +01:00
slice_array.h
sstream.tcc
stl_algo.h re PR libstdc++/58437 (Sorting value in reverse order is much slower compare to gcc44) 2013-09-30 17:42:31 +00:00
stl_algobase.h stl_algo.h (remove_copy, [...]): Declare inline. 2013-09-28 20:30:51 +00:00
stl_bvector.h Print additional info when various out-of-range conditions are detected. 2013-09-21 19:04:13 -07:00
stl_construct.h
stl_deque.h Print additional info when various out-of-range conditions are detected. 2013-09-21 19:04:13 -07:00
stl_function.h
stl_heap.h predefined_ops.h: New. 2013-09-27 21:17:36 +00:00
stl_iterator_base_funcs.h
stl_iterator_base_types.h
stl_iterator.h re PR libstdc++/58338 (Add noexcept to functions with a narrow contract) 2013-09-18 18:31:01 +00:00
stl_list.h re PR libstdc++/58338 (Add noexcept to functions with a narrow contract) 2013-09-18 18:31:01 +00:00
stl_map.h c++config (_GLIBCXX_ABI_TAG_CXX11): Add. 2013-06-10 23:11:05 +00:00
stl_multimap.h c++config (_GLIBCXX_ABI_TAG_CXX11): Add. 2013-06-10 23:11:05 +00:00
stl_multiset.h c++config (_GLIBCXX_ABI_TAG_CXX11): Add. 2013-06-10 23:11:05 +00:00
stl_numeric.h
stl_pair.h
stl_queue.h
stl_raw_storage_iter.h
stl_relops.h
stl_set.h c++config (_GLIBCXX_ABI_TAG_CXX11): Add. 2013-06-10 23:11:05 +00:00
stl_stack.h
stl_tempbuf.h
stl_tree.h re PR libstdc++/58338 (Add noexcept to functions with a narrow contract) 2013-09-19 11:40:29 +00:00
stl_uninitialized.h
stl_vector.h Print additional info when various out-of-range conditions are detected. 2013-09-21 19:04:13 -07:00
stream_iterator.h
streambuf_iterator.h
streambuf.tcc
stringfwd.h
unique_ptr.h unique_ptr.h (make_unique): Declare inline. 2013-05-18 21:18:55 +01:00
unordered_map.h re PR libstdc++/57619 (std::unordered_map and std::unordered_multimap::insert invoking std::pair move constructor) 2013-06-14 23:35:56 +00:00
unordered_set.h hashtable_policy.h: Add C++11 allocator support. 2013-04-22 20:22:07 +00:00
uses_allocator.h
valarray_after.h
valarray_array.h
valarray_array.tcc
valarray_before.h
vector.tcc stl_deque.h (deque<>::insert(iterator, const value_type&), [...]): Adjust C++11 signatures to take a const_iterator. 2013-06-27 09:51:21 +00:00