This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [libstdc++] Notes on specializing char_traits for basic_string<arbitrary-stuff>
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Phil Edwards <phil at jaj dot com>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: 11 Oct 2002 00:06:51 +0200
- Subject: Re: [libstdc++] Notes on specializing char_traits for basic_string<arbitrary-stuff>
- Organization: Integrable Solutions
- References: <20021010180039.A19559@disaster.jaj.com>
Phil Edwards <phil@jaj.com> writes:
| + Now, <code>allocator<CharT></code> will probably Do The Right
| + Thing by default, unless you need to do something very strange with
^^^^^^^^^^^^
| + memory allocation in your characters.
I'm not sure that wording is appropriate. What about
"... unless you need to implement your own allocator for your characters."
?
[...]
| + </p>
| + <p>One example of how to specialize char_traits is given
| + <a href="http://gcc.gnu.org/ml/libstdc++/2002-08/msg00260.html">in
and someone named Gaby was supposed to have put all that in a much
more usable form :-)
-- Gaby