re PR libstdc++/14245 ([3.4 only] problem with user-defined allocators in std::basic_...
authorChavdar Botev <cbotev@yahoo.com>
Sun, 28 Mar 2004 16:27:27 +0000 (16:27 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 28 Mar 2004 16:27:27 +0000 (16:27 +0000)
commitf26e5597f0272d7e4e20fe2c3728a064276f6ab0
treee5ec76c7ee8cc0e54eeba22443039fb10b66346e
parente20f3dd1437fad78e3142fe4834773b71c1b100c
re PR libstdc++/14245 ([3.4 only] problem with user-defined allocators in std::basic_string)

2004-03-28  Chavdar Botev  <cbotev@yahoo.com>

PR libstdc++/14245
* include/bits/basic_string.tcc
(basic_string::basic_string(const basic_string&)): Pass to
_Rep::_M_grab the actual allocator of the string being constructed
not the default constructed one.

From-SVN: r80041
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.tcc