|
Boost : |
From: Pavol Droba (droba_at_[hidden])
Date: 2003-10-20 01:33:42
On Mon, Oct 20, 2003 at 07:53:13AM +0200, Martin Wille wrote:
[snip]
> >A boost::string that derived from std::string and added all the
> >_inplace() functions would be nice.
>
>
> How about inplace(some_string).trim()?
>
> The inplace-view could also be used for other containers than
> std::string.
>
This is not a good direction of thinking. Any packing of algorithms into
one huge class is a big flaw in the library design.
It is not flexible, dissallows extensibility and it is hard to maintain ...
Regards,
Pavol
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk