PR libstdc++/81381 support stateful allocators in basic_stringbuf
commit42fd75d8faff700297f51fac0242828203b47d2c
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Jul 2017 17:59:02 +0000 (10 17:59 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Jul 2017 17:59:02 +0000 (10 17:59 +0000)
treec9da9b89f426a94165143ac41631873085c42355
parent4169c1948b55043f7d25c38075a2e3823d6ef536
PR libstdc++/81381 support stateful allocators in basic_stringbuf

PR libstdc++/81381
* include/bits/sstream.tcc (basic_stringbuf::overflow)
(basic_stringbuf::basic_stringbuf(const __string_type&, ios::mode))
(basic_stringbuf::str()): Construct new strings with an allocator.
* testsuite/27_io/basic_stringbuf/cons/81381.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250101 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/sstream.tcc
libstdc++-v3/include/std/sstream
libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/81381.cc [new file with mode: 0644]