gcc/libstdc++-v3/include/bits
Jonathan Wakely 23df853421 functional (_Require): Move to ...
* include/std/functional (_Require): Move to ...
	* include/std/type_traits (_Require): ... here.
	* include/bits/shared_ptr_base.h (__shared_count::_S_create_from_up):
	Handle unique_ptr for arrays or with custom pointer types.
	(__shared_ptr::__shared_ptr(unique_ptr<_Tp1, _Del>&&): Likewise.
	* include/bits/unique_ptr.h (unique_ptr<_Tp[], _Dp>): Use
	_Dp::pointer if defined. Implement proposed resolution of LWG 2118.
	* testsuite/20_util/shared_ptr/cons/unique_ptr_array.cc: New.
	* testsuite/20_util/unique_ptr/assign/cv_qual.cc: New.
	* testsuite/20_util/unique_ptr/cons/array_convertible_neg.cc: New.
	* testsuite/20_util/unique_ptr/cons/convertible_neg.cc: New.
	* testsuite/20_util/unique_ptr/cons/cv_qual.cc: New.
	* testsuite/20_util/unique_ptr/modifiers/cv_qual.cc: New.
	* testsuite/20_util/unique_ptr/requirements/pointer_type_array.cc: New.
	* testsuite/20_util/shared_ptr/cons/unique_ptr.cc: Adjust comments.
	* testsuite/20_util/unique_ptr/cons/pointer_array_convertible_neg.cc:
	Likewise.
	* testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Likewise.
	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line number.
	* testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
	* testsuite/20_util/default_delete/48631_neg.cc: Likewise.
	* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Likewise.
	* testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
	* testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust
	dg-error text.
	* testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Use
	different instantiations so static_assert fails for each.

From-SVN: r194651
2012-12-20 21:02:33 +00:00
..
algorithmfwd.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
alloc_traits.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
allocator.h 2012-11-20 Matthias Klose <doko@ubuntu.com> 2012-11-20 13:48:28 +00:00
atomic_base.h atomic_base.h: Don't include <cstddef>, use nullptr. 2012-11-06 11:03:45 +00:00
basic_ios.h re PR libstdc++/44015 (template parameters not documented) 2012-05-02 22:25:28 +00:00
basic_ios.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
basic_string.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
basic_string.tcc * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
boost_concept_check.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
c++0x_warning.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
c++config * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
char_traits.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
codecvt.h re PR libstdc++/50714 (codecvt_byname::codecvt::_M_c_locale_codecvt not initialized by destroyed) 2011-10-14 00:12:40 +00:00
concept_check.h re PR libstdc++/54248 (Comment in standard library header talks about boost) 2012-08-25 19:51:53 +01:00
cpp_type_traits.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
deque.tcc * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
forward_list.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
forward_list.tcc forward_list.h (forward_list(size_type)): Add missing allocator parameter. 2012-11-02 01:29:00 +00:00
fstream.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
functexcept.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
functional_hash.h re PR libstdc++/52931 (std::hash shouldn't be defined for unknown types) 2012-04-11 11:27:50 +00:00
gslice.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
gslice_array.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
hashtable.h re PR libstdc++/55413 ([LTO] hashtable.h:1648 '__bbegin_bkt' may be used uninitialized in this function [-Werror=maybe-uninitialized]) 2012-11-20 14:54:11 +00:00
hashtable_policy.h hashtable.h: Improve comments. 2012-11-19 21:33:52 +00:00
indirect_array.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
ios_base.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
istream.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
list.tcc * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
locale_classes.h user.cfg.in: Add macros, directories. 2011-12-10 15:33:06 +00:00
locale_classes.tcc c++config: Remove __regex nested namespace. 2012-06-28 07:50:34 +00:00
locale_facets.h user.cfg.in: Update to Doxygen 1.8.0. 2012-03-08 05:20:52 +00:00
locale_facets.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
locale_facets_nonio.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
locale_facets_nonio.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
localefwd.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
mask_array.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
move.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
ostream.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
ostream_insert.h Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
postypes.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
ptr_traits.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
random.h re PR libstdc++/55169 (std::discrete_distribution::operator(generator&) makes unnecessary copy of parameter vector) 2012-11-02 10:45:25 +00:00
random.tcc re PR libstdc++/55215 (Constructor seeding is broken for Mersenne twister) 2012-11-05 19:25:20 +00:00
range_access.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
regex.h c++config: Remove __regex nested namespace. 2012-06-28 07:50:34 +00:00
regex_compiler.h c++config: Remove __regex nested namespace. 2012-06-28 07:50:34 +00:00
regex_constants.h c++config: Remove __regex nested namespace. 2012-06-28 07:50:34 +00:00
regex_cursor.h c++config: Remove __regex nested namespace. 2012-06-28 07:50:34 +00:00
regex_error.h c++config: Remove __regex nested namespace. 2012-06-28 07:50:34 +00:00
regex_grep_matcher.h c++config: Remove __regex nested namespace. 2012-06-28 07:50:34 +00:00
regex_grep_matcher.tcc c++config: Remove __regex nested namespace. 2012-06-28 07:50:34 +00:00
regex_nfa.h c++config: Remove __regex nested namespace. 2012-06-28 07:50:34 +00:00
regex_nfa.tcc c++config: Remove __regex nested namespace. 2012-06-28 07:50:34 +00:00
shared_ptr.h acinclude.m4: Update references to final C++11 standard. 2012-08-09 23:45:20 +01:00
shared_ptr_base.h functional (_Require): Move to ... 2012-12-20 21:02:33 +00:00
slice_array.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
sstream.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
stl_algo.h stl_algo.h (reverse_copy): Update comment per DR 2074. 2012-11-19 22:28:00 +00:00
stl_algobase.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_bvector.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_construct.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_deque.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_function.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_heap.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_iterator.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_iterator_base_funcs.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_iterator_base_types.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_list.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_map.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_multimap.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_multiset.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_numeric.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_pair.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_queue.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_raw_storage_iter.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
stl_relops.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stl_set.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_stack.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_tempbuf.h 2012-05-29 François Dumont <fdumont@gcc.gnu.org> 2012-05-29 19:29:29 +00:00
stl_tree.h Fix incorrect @headername Doxygen macro invocation. 2012-11-27 20:52:02 +00:00
stl_uninitialized.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stl_vector.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stream_iterator.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
streambuf.tcc Makefile.am (inst_sources): Make source instantion files conditional. 2011-03-04 21:51:56 +00:00
streambuf_iterator.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
stringfwd.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
unique_ptr.h functional (_Require): Move to ... 2012-12-20 21:02:33 +00:00
unordered_map.h stl_algo.h (reverse_copy): Update comment per DR 2074. 2012-11-19 22:28:00 +00:00
unordered_set.h unordered_map.h (unordered_map<>): Prefer aggregation to inheritance with _Hashtable. 2012-10-27 12:20:18 +00:00
uses_allocator.h * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
valarray_after.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
valarray_array.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
valarray_array.tcc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
valarray_before.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
vector.tcc * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00