dd7b175ec3
2011-05-30 Paolo Carlini <paolo.carlini@oracle.com> * include/std/type_traits (__or_, __and_): Add trivial definitions for a single element. * include/bits/stl_pair.h: Use __and_ in noexcept specs and constraints. (pair<>::pair(pair&&)): Define. (pair<>::pair(const pair<>&)): Constrain with is_convertible. (pair<>::pair(pair<>&&)): Likewise, remove noexcept. * include/std/tuple: Use __and_ in noexcept specs and constraints. (_Tuple_impl<>::_Tuple_impl(allocator_arg_t, const _Alloc&, _Tuple_impl&&)): Remove noexcept. (tuple<>::tuple(_UElements&&...), tuple(const tuple<_UElements...>&), tuple(tuple<_UElements...>&&), tuple(const pair<_U1, _U2>&), tuple(pair<_U1, _U2>&&)): Constrain with is_convertible. * testsuite/20_util/tuple/moveable2.cc: Use = delete. * 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. * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise. From-SVN: r174464 |
||
---|---|---|
.. | ||
add_lvalue_reference | ||
add_rvalue_reference | ||
addressof | ||
aligned_storage | ||
allocator | ||
allocator_traits | ||
auto_ptr | ||
bad_function_call | ||
bind | ||
common_type/requirements | ||
conditional/requirements | ||
decay/requirements | ||
declval/requirements | ||
default_delete | ||
duration | ||
duration_cast | ||
enable_if/requirements | ||
enable_shared_from_this | ||
forward | ||
function | ||
function_objects | ||
has_trivial_copy_assign | ||
has_trivial_copy_constructor | ||
has_trivial_default_constructor | ||
hash | ||
headers | ||
is_assignable | ||
is_compound | ||
is_constructible | ||
is_convertible | ||
is_copy_assignable | ||
is_copy_constructible | ||
is_default_constructible | ||
is_destructible | ||
is_explicitly_convertible | ||
is_function | ||
is_fundamental | ||
is_integral | ||
is_literal_type | ||
is_lvalue_reference | ||
is_member_function_pointer | ||
is_member_object_pointer | ||
is_member_pointer | ||
is_move_assignable | ||
is_move_constructible | ||
is_nothrow_assignable | ||
is_nothrow_constructible | ||
is_nothrow_copy_assignable | ||
is_nothrow_copy_constructible | ||
is_nothrow_default_constructible | ||
is_nothrow_move_assignable | ||
is_nothrow_move_constructible | ||
is_object | ||
is_pod | ||
is_reference | ||
is_rvalue_reference | ||
is_scalar | ||
is_signed | ||
is_standard_layout | ||
is_trivial | ||
is_unsigned | ||
make_signed/requirements | ||
make_unsigned/requirements | ||
monotonic_clock | ||
move | ||
move_if_noexcept | ||
owner_less | ||
pair | ||
pointer_traits | ||
ratio | ||
raw_storage_iterator/requirements | ||
reference_wrapper | ||
remove_reference | ||
shared_ptr | ||
specialized_algorithms | ||
system_clock | ||
time_point | ||
time_point_cast | ||
tuple | ||
typeindex | ||
underlying_type/requirements | ||
unique_ptr | ||
uses_allocator | ||
weak_ptr | ||
rel_ops.cc | ||
temporary_buffer.cc |