This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Hello
- To: libstdc++ at gcc dot gnu dot org
- Subject: Hello
- From: Carlo Wood <carlo at alinoe dot com>
- Date: Wed, 9 May 2001 05:28:26 +0200
Did anyone see my last (and first) post on this list? :)
Just wondering, because I've seen no reaction so far
and I'd really like to know what is the deal with allocator
objects and stringstreams.
http://gcc.gnu.org/ml/libstdc++/2001-05/msg00027.html
A summary of the Question is:
When I do:
basic_stringstream<char, char_traits<char>, ALLOCATOR> ss;
ss << 123;
Then I expect that ANY allocation is done by calling
ALLOCATOR::allocate(). But it turns out that (due to
the allocation of a locale related object) operator new
is called directly. Isn't that a bug?
--
Carlo Wood <carlo@alinoe.com>