gcc/libstdc++-v3/include/tr1
Jonathan Wakely 640cbe76c7 re PR libstdc++/36962 ([C++0x] Add constructors / assignment operators from unique_ptr to shared_ptr)
PR libstdc++/36962
	* include/Makefile.am: Update headers.
	* include/Makefile.in: Regenerate.
	* include/std/memory: Update headers.
	* include/tr1/memory: Likewise.
	* include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
	separate implementations for std and tr1.
	* include/bits/boost_sp_shared_count.h: Remove.
	* include/tr1/boost_sp_shared_count.h: Remove.
	* include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
	and boost_shared_ptr.h into one file.
	(__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
	and rvalue-reference support as per current WP.
	* include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
	and boost_shared_ptr.h into one file.
	* testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
	* testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
	* testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
	* testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
	* testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
	* testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
	* testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
	* testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
	* testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.

From-SVN: r140012
2008-09-04 23:33:10 +01:00
..
array re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
bessel_function.tcc run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
beta_function.tcc run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
ccomplex re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
cctype re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
cfenv re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
cfloat re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
cinttypes re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
climits * include/c_global/climits, include/tr1/climits: Add parentheses. 2008-06-21 17:04:40 +01:00
cmath cmath (pow(float, int), [...]): Do not define in C++0x mode, per DR 550. 2008-05-26 19:18:24 +00:00
complex complex (pow(const complex<>&, int)): Do not define in C++0x mode, per DR 844. 2008-06-12 10:17:53 +00:00
complex.h re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
cstdarg re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
cstdbool all_pedantic_errors.cc: New. 2007-09-14 17:46:56 +00:00
cstdint re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
cstdio re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
cstdlib re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
ctgmath re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
ctime re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
ctype.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
cwchar re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
cwctype re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
ell_integral.tcc run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
exp_integral.tcc run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
fenv.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
float.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
functional functional_hash.h: Do not include ext/numeric_traits.h. 2007-11-20 14:06:53 +00:00
functional_hash.h functional_hash.h: Do not include ext/numeric_traits.h. 2007-11-20 14:06:53 +00:00
gamma.tcc run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
hashtable.h re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
hypergeometric.tcc run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
inttypes.h re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
legendre_function.tcc run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
limits.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
math.h re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
memory re PR libstdc++/36962 ([C++0x] Add constructors / assignment operators from unique_ptr to shared_ptr) 2008-09-04 23:33:10 +01:00
modified_bessel_func.tcc run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
poly_hermite.tcc run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
poly_laguerre.tcc run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
random re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
regex re PR testsuite/37149 (27_io/basic_ostream/inserters_other/char/error_code.cc) 2008-08-18 17:48:15 +00:00
riemann_zeta.tcc run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
shared_ptr.h re PR libstdc++/36962 ([C++0x] Add constructors / assignment operators from unique_ptr to shared_ptr) 2008-09-04 23:33:10 +01:00
special_function_util.h run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
stdarg.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
stdbool.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
stdint.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
stdio.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
stdlib.h re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
tgmath.h re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
tuple run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
type_traits type_traits (_DEFINE_SPEC*): Simplify. 2008-08-10 10:11:46 +00:00
unordered_map hashtable_policy.h (__lower_bound): Add. 2007-12-25 13:49:54 +00:00
unordered_set hashtable_policy.h (__lower_bound): Add. 2007-12-25 13:49:54 +00:00
utility re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
wchar.h re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
wctype.h re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00