gcc/libstdc++-v3/include/std
Ville Voutilainen 1725d05d19 Make any's copy assignment operator exception-safe,
don't copy the underlying value when any is moved,
make in_place constructors explicit.
* include/std/any (any(in_place_type_t<_ValueType>, _Args&&...)):
Make explicit.
(any(in_place_type_t<_ValueType>, initializer_list<_Up>, _Args&&...)):
Likewise.
(operator=(const any&)): Make strongly exception-safe.
(operator=(any&&)): reset() unconditionally in the case where
rhs has a value.
(operator=(_ValueType&&)): Indent the return type.
(_Manager_internal<_Tp>::_S_manage): Move in _Op_xfer, don't copy.
* testsuite/20_util/any/assign/2.cc: Adjust.
* testsuite/20_util/any/assign/exception.cc: New.
* testsuite/20_util/any/cons/2.cc: Adjust.
* testsuite/20_util/any/cons/explicit.cc: New.
* testsuite/20_util/any/misc/any_cast_neg.cc: Ajust.

From-SVN: r240951
2016-10-11 01:08:58 +03:00
..
algorithm
any Make any's copy assignment operator exception-safe, 2016-10-11 01:08:58 +03:00
array
atomic
bitset
chrono Fix libstdc++ versioned namespace build 2016-10-03 15:35:28 +01:00
codecvt
complex Fix libstdc++ versioned namespace build 2016-10-03 15:35:28 +01:00
condition_variable
deque
forward_list
fstream
functional Minor simplification to std::_Bind_result helpers 2016-10-10 17:15:52 +01:00
future
iomanip
ios
iosfwd
iostream
istream
iterator
limits
list
locale
map
memory
mutex
numeric LWG 2733, LWG 2759 reject bool in gcd and lcm 2016-10-10 13:17:34 +01:00
optional Make optional::reset noexcept, make optional::value work in constant expressions. 2016-09-29 18:20:28 +03:00
ostream
queue
random
ratio
regex
scoped_allocator Make std::scoped_allocator_adaptor's OUTERMOST recursive 2016-10-06 22:22:35 +01:00
set
shared_mutex
sstream
stack
stdexcept
streambuf
string
string_view Fix libstdc++ versioned namespace build 2016-10-03 15:35:28 +01:00
system_error
thread
tuple re PR libstdc++/77802 (Boost Fiber doesn't compile) 2016-10-03 14:06:53 +03:00
type_traits Implement std::has_unique_object_representations 2016-10-07 19:02:43 +01:00
typeindex
unordered_map
unordered_set
utility
valarray
variant Fix libstdc++ versioned namespace build 2016-10-03 15:35:28 +01:00
vector