gcc/libstdc++-v3/testsuite/util
Paolo Carlini 65cee9bdb7 type_traits (is_nothrow_default_constructible, [...]): Add.
2011-04-18  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/type_traits (is_nothrow_default_constructible,
	is_nothrow_copy_constructible, is_nothrow_move_constructible,
	is_copy_constructible, is_move_constructible): Add.
	(has_nothrow_default_constructor, has_nothrow_copy_constructor):
	Remove.
	(is_nothrow_constructible): Adjust.

	* testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
	ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
	ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
	NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.

	* testsuite/20_util/has_nothrow_default_constructor: Remove.
	* testsuite/20_util/has_nothrow_copy_constructor: Likewise.

	* testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
	* testsuite/20_util/is_nothrow_move_constructible/requirements/
	typedefs.cc: Likewise.
	* testsuite/20_util/is_nothrow_move_constructible/requirements/
	explicit_instantiation.cc: Likewise.
	* testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
	* testsuite/20_util/is_nothrow_copy_constructible/requirements/
	typedefs.cc: Likewise.
	* testsuite/20_util/is_nothrow_copy_constructible/requirements/
	explicit_instantiation.cc: Likewise.
	* testsuite/20_util/is_nothrow_default_constructible/value.cc:
	Likewise.
	* testsuite/20_util/is_nothrow_default_constructible/requirements/
	typedefs.cc: Likewise.
	* testsuite/20_util/is_nothrow_default_constructible/requirements/
	explicit_instantiation.cc: Likewise.
	* testsuite/20_util/is_move_constructible/value.cc: Likewise.
	* testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
	Likewise.
	* testsuite/20_util/is_move_constructible/requirements/
	explicit_instantiation.cc: Likewise.
	* testsuite/20_util/is_copy_constructible/value.cc: Likewise.
	* testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
	Likewise.
	* testsuite/20_util/is_copy_constructible/requirements/
	explicit_instantiation.cc: Likewise.

	* testsuite/20_util/is_default_constructible/value.cc: Add tests.
	* testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.

	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
	Adjust dg-error line numbers.
	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
	Likewise.
	* testsuite/20_util/declval/requirements/1_neg.cc: Likewise.

From-SVN: r172684
2011-04-19 00:10:53 +00:00
..
common_type 14340.cc: Abstract list type. 2009-05-20 04:05:21 +00:00
debug libstdc++.exp ([check_v3_target_debug_mode]): Fix so that it really detects when debug mode is activated. 2010-09-03 18:10:46 +00:00
exception stl_tree.h (_Rb_tree<>::_M_erase_aux): Add. 2010-11-08 16:07:32 +00:00
hash_fn Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
io Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
native_type Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
performance Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
regression c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
statistic Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
thread Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
replacement_memory_operators.h remove_freed.cc: Fix test01 return type to void. 2010-08-31 17:24:39 +00:00
testsuite_abi_check.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
testsuite_abi.cc re PR libstdc++/48465 (undefined reference to std::basic_string::_S_compare(unsigned long, unsigned long)) 2011-04-10 17:20:42 +01:00
testsuite_abi.h extract_symvers: Add support for tracking TLS symbols. 2010-10-01 17:10:38 +00:00
testsuite_allocator.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
testsuite_allocator.h testsuite_iterators.h: Guard move.h includes. 2010-12-16 22:02:38 +00:00
testsuite_api.h re PR libstdc++/32618 (std::vector calls uneccessary constructors instead of inplace construction of first object) 2010-06-18 18:07:45 +00:00
testsuite_character.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
testsuite_character.h re PR libstdc++/45628 (std::fstream::tellg invalidates I/O buffer) 2010-09-22 19:40:43 +00:00
testsuite_common_types.h re PR libstdc++/48566 (libstdc++-v3 testsuite failures due to missing includes) 2011-04-12 09:05:30 +00:00
testsuite_container_traits.h [multiple changes] 2010-09-29 11:56:34 +00:00
testsuite_containers.h array (array): Add pointer and const_pointer typedefs in C++0x mode, per DR 1306. 2010-02-19 18:55:40 +00:00
testsuite_error.h re PR c++/42844 (const variable requires initializer / no explicitly declared default constructor) 2010-04-27 14:56:13 -04:00
testsuite_greedy_ops.h stl_iterator.h: Add move_iterator operators overloads to make it robust to template abuses. 2010-12-08 01:23:41 +00:00
testsuite_hooks.cc testsuite_iterators.h: Don't include <cstddef>, don't use NULL, use std::size_t and std::ptrdiff_t. 2010-06-03 23:11:46 +00:00
testsuite_hooks.h [multiple changes] 2010-06-26 20:11:20 +00:00
testsuite_io.h c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
testsuite_iterators.h testsuite_iterators.h: Guard move.h includes. 2010-12-16 22:02:38 +00:00
testsuite_performance.h c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
testsuite_random.h random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Fix construction of _M_gd. 2011-03-24 16:49:19 +00:00
testsuite_rng.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
testsuite_rvalref.h [multiple changes] 2011-03-09 18:30:11 +00:00
testsuite_shared.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
testsuite_tr1.h type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00