5aadb69b90
2010-08-10 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Avoid -Wall warnings. * include/bits/shared_ptr.h (shared_ptr<>::shared_ptr (const shared_ptr<>&), shared_ptr(shared_ptr<>&&), weak_ptr<>:: weak_ptr(const weak_ptr<>&), weak_ptr(const shared_ptr<>&)): Constrain appropriately via std::is_convertible, etc. * include/bits/shared_ptr_base.h: Likewise. * include/bits/unique_ptr.h (default_delete<>:: default_delete(const default_delete<>&), unique_ptr<>::unique_ptr(unique_ptr<>&&), operator=(unique_ptr<>&&)): Likewise. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error line numbers. * testsuite/20_util/shared_ptr/cons/43820.cc: Likewise. * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(auto_ptr<>&&)): Add. * include/std/memory: Adjust includes order. * testsuite/20_util/unique_ptr/cons/auto_ptr.cc: New. * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise. * testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Minor tweaks. From-SVN: r163053 |
||
---|---|---|
.. | ||
add_lvalue_reference | ||
add_rvalue_reference | ||
addressof | ||
aligned_storage | ||
allocator | ||
auto_ptr | ||
bad_function_call | ||
bind | ||
clocks | ||
common_type/requirements | ||
conditional/requirements | ||
decay/requirements | ||
declval/requirements | ||
duration | ||
enable_if/requirements | ||
enable_shared_from_this/requirements | ||
forward | ||
function | ||
function_objects | ||
has_nothrow_copy_assign | ||
has_nothrow_copy_constructor | ||
has_nothrow_default_constructor | ||
has_trivial_copy_assign | ||
has_trivial_copy_constructor | ||
has_trivial_default_constructor | ||
hash | ||
headers | ||
is_constructible | ||
is_convertible | ||
is_explicitly_convertible | ||
is_integral | ||
is_lvalue_reference | ||
is_nothrow_constructible | ||
is_pod | ||
is_reference | ||
is_rvalue_reference | ||
is_signed | ||
is_standard_layout | ||
is_trivial | ||
is_unsigned | ||
make_signed/requirements | ||
make_unsigned/requirements | ||
move | ||
owner_less | ||
pair | ||
ratio | ||
raw_storage_iterator/requirements | ||
reference_wrapper | ||
remove_reference | ||
shared_ptr | ||
specialized_algorithms | ||
time_point | ||
tuple | ||
unique_ptr | ||
weak_ptr | ||
rel_ops.cc | ||
temporary_buffer.cc |