gcc/libstdc++-v3/include
Jonathan Wakely 9407c6fa53 any (any::_Storage): Make non-copyable.
* include/experimental/any (any::_Storage): Make non-copyable.
	(any::any): Do not copy _Storage object.
	(any::operator=): Implement more efficiently than swapping.
	(any::swap): Use new _Op_xfer operation.
	(any::_Op::_Op_xfer): New enumerator.
	(_Manager_internal::_S_alloc): Remove unused function.
	(_Manager_internal::_S_create, _Manager_external::_S_create): Use out
	parameter instead of returning a _Storage object.
	(_Manager_internal::_S_manage, _Manager_external::_S_manage): Add
	_Op_xfer operation for moving and swapping.
	* testsuite/experimental/any/cons/nontrivial.cc: New.
	* testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.

From-SVN: r222721
2015-05-02 13:38:44 +01:00
..
backward Update copyright years. 2015-01-05 13:33:28 +01:00
bits locale_classes.h (locale::facet): Delete copy operations in C++11 mode. 2015-05-01 17:50:31 +01:00
c Update copyright years. 2015-01-05 13:33:28 +01:00
c_compatibility Update copyright years. 2015-01-05 13:33:28 +01:00
c_global re PR libstdc++/64883 (FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess errors) on x86_64-apple-darwin10) 2015-02-01 15:11:08 +00:00
c_std re PR libstdc++/64883 (FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess errors) on x86_64-apple-darwin10) 2015-02-01 15:11:08 +00:00
debug vector (_Safe_vector::operator=): Add missing returns. 2015-04-28 16:05:27 +01:00
decimal Update copyright years. 2015-01-05 13:33:28 +01:00
experimental any (any::_Storage): Make non-copyable. 2015-05-02 13:38:44 +01:00
ext c++config (__gnu_cxx::__cxx11): Define new namespace. 2015-03-20 13:26:55 +00:00
parallel Update copyright years. 2015-01-05 13:33:28 +01:00
precompiled Update copyright years. 2015-01-05 13:33:28 +01:00
profile Update copyright years. 2015-01-05 13:33:28 +01:00
std re PR libstdc++/65978 (missing constexpr on std::forward_as_tuple and std::tie (LWG issues 2275 and 2301)) 2015-05-02 12:20:03 +01:00
tr1 Update copyright years. 2015-01-05 13:33:28 +01:00
tr2 Update copyright years. 2015-01-05 13:33:28 +01:00
Makefile.am Implement observer_ptr. 2015-05-01 22:01:11 +01:00
Makefile.in Implement observer_ptr. 2015-05-01 22:01:11 +01:00