695e0fbfe0
2004-07-01 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algobase.h (__copy_trivial): Remove. (__copy_aux2): Rewrite as __copy_aux to use __is_pointer, __is_trivially_copyable, __are_same and __copy::copy. (__copy): Rewrite as a class template and two specializations. (__copy_ni2): Simplify, just call __copy_aux. * include/bits/stl_algobase.h (__copy_backward_aux): Add __are_same check. * testsuite/25_algorithms/copy/1.cc, 2.cc, 3.cc, 4.cc: Test also for destination value type != source value type. From-SVN: r83991 |
||
---|---|---|
.. | ||
allocator.h | ||
atomicity.h | ||
basic_ios.h | ||
basic_ios.tcc | ||
basic_string.h | ||
basic_string.tcc | ||
boost_concept_check.h | ||
c++config | ||
char_traits.h | ||
codecvt.h | ||
concept_check.h | ||
concurrence.h | ||
cpp_type_traits.h | ||
deque.tcc | ||
fstream.tcc | ||
functexcept.h | ||
gslice_array.h | ||
gslice.h | ||
indirect_array.h | ||
ios_base.h | ||
istream.tcc | ||
list.tcc | ||
locale_classes.h | ||
locale_facets.h | ||
locale_facets.tcc | ||
localefwd.h | ||
mask_array.h | ||
ostream.tcc | ||
postypes.h | ||
slice_array.h | ||
sstream.tcc | ||
stl_algo.h | ||
stl_algobase.h | ||
stl_bvector.h | ||
stl_construct.h | ||
stl_deque.h | ||
stl_function.h | ||
stl_heap.h | ||
stl_iterator_base_funcs.h | ||
stl_iterator_base_types.h | ||
stl_iterator.h | ||
stl_list.h | ||
stl_map.h | ||
stl_multimap.h | ||
stl_multiset.h | ||
stl_numeric.h | ||
stl_pair.h | ||
stl_queue.h | ||
stl_raw_storage_iter.h | ||
stl_relops.h | ||
stl_set.h | ||
stl_stack.h | ||
stl_tempbuf.h | ||
stl_tree.h | ||
stl_uninitialized.h | ||
stl_vector.h | ||
stream_iterator.h | ||
streambuf_iterator.h | ||
streambuf.tcc | ||
stringfwd.h | ||
type_traits.h | ||
valarray_after.h | ||
valarray_array.h | ||
valarray_array.tcc | ||
valarray_before.h | ||
vector.tcc |