Boost logo

Boost :

From: Ulrich Eckhardt (doomster_at_[hidden])
Date: 2007-07-11 09:30:38


On Wednesday 11 July 2007 05:55:59 Marat Khalili wrote:
> Are there any standard means to clone collection class while changing
> only element type? Like receiving some_collection<int> as a template
> parameter and creating some_collection<string> without knowing what
> exactly some_collection is.

Looks like a case for std::transform(), or?

> In case there are none, is anyone interested to see it as a standalone
> library?

Not really, I'd be much more interested in how it allows a friendlier syntax
than std::transform... ;)

cheers

Uli


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk