Topic: move semantics and stringstream (slightly OT)


Author: brok@rubikon.pl ("Bronek Kozicki")
Date: Fri, 14 Oct 2005 13:58:00 GMT
Raw View
Howard Hinnant <howard.hinnant@gmail.com> wrote:
> compared to the unique modifications that will be made.  I just don't
> believe that std::string fits into these categories (a const variant
> of std::string would be a prime candidate for reference counting
> though).

.. and I see genuine need for such kind of string, plus conversions
to/from basic_string (with support for move semantics, obviously). I
thought that there is already some kind of immutable string in Boost to
start with, but can not find it now. Maybe it has not been proposed yet
(or was dropped)


B.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]