2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Mar 2002 22:10:34 +0000 (22:10 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Mar 2002 22:10:34 +0000 (22:10 +0000)
commite420edd6486bc557d34fe77eba127bf0bb7e4b55
tree9caa47fe708bd39a8891692bd697a68f0a4f41dc
parent295a8b81c84427deede101bacbba85cb24ab86f0
2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/basic_string.tcc (string::_S_construct(_InIter,
_InIter, const _Alloc&, forward_iterator_tag): Check for null.
(string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
* testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
that memory limits are in place.
(test03): Add tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50683 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.tcc
libstdc++-v3/testsuite/21_strings/ctor_copy_dtor.cc