re PR libstdc++/16505 ([3.4 only] std::uninitialized_fill_n() incorrect signature)
authorPaolo Carlini <pcarlini@suse.de>
Wed, 14 Jul 2004 23:57:34 +0000 (23:57 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 14 Jul 2004 23:57:34 +0000 (23:57 +0000)
commit368b7a304e674df0e140b6dc164e670650c56486
tree810e6e95b8bb967e4488292e927010f0ff3f9e78
parent7ae4ad2898ab2f7f2afbadae3cdc4d24221eb034
re PR libstdc++/16505 ([3.4 only] std::uninitialized_fill_n() incorrect signature)

2004-07-14  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/16505
* include/bits/stl_uninitialized.h (uninitialized_fill_n): Fix
the signature to return void, as per 20.4.4.3.
* include/bits/stl_vector.h (vector::vector(size_type,
const value_type&, const allocator_type&), vector::vector(size_type),
vector::_M_initialize_dispatch): Adjust callers.
* include/bits/vector.tcc (vector<>::_M_fill_assign,
vector<>::_M_fill_insert): Likewise.
* testsuite/20_util/memory/16505.cc: New.

From-SVN: r84720
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_uninitialized.h
libstdc++-v3/include/bits/stl_vector.h
libstdc++-v3/include/bits/vector.tcc
libstdc++-v3/testsuite/20_util/memory/16505.cc [new file with mode: 0644]