Boost logo

Boost :

From: Vincent Finn (vincent_finn_at_[hidden])
Date: 2002-11-20 06:04:14

Forwarded to main Boost list - that's the more appropriate venue for
discussions of possible additions.

-- Jim Hyslop boost-users moderator.

> -----Original Message-----
> From: alexei_novakov [mailto:alexei_novakov_at_[hidden]]
> Sent: Monday, November 18, 2002 7:05 PM
> To: Boost-Users_at_[hidden]
> Subject: [Boost-Users] Possible boost addition: sub string and const
> string.
> Hello everyone.
> I have two classes which I found pretty handy: sub_string (behaves as
> a mirror of the portion of master basic_string) and const_string (C-
> string wrapper). Nice thing about these two is they implemented as
> template specialization of basic_string which has advantages:
> a) familiar interface;
> b) possibility to reuse the code written for basic_string (like
> string streams, lexical casts, etc).
> Any interest?
> Regards.
> Alexei Novakov

Sounds interesting, like slice on a valarray

When I have to do a lot of manipulation of sub string and can't afford
to copy back and forward I normally resort to using vector<char>; this
sounds a lot handier

How does it work ?


Boost list run by bdawes at, gregod at, cpdaniel at, john at