Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-07-10 02:22:58


Andrei Alexandrescu (See Website for Email <andrewalex <at> hotmail.com> writes:

>
> "Vladimir Prus" <ghost <at> cs.msu.su> wrote in message
> news:ccm43l$q1d$1 <at> sea.gmane.org...
> > Russell Hind wrote:

> > > is 'end' in boost?
> >
> > I think the recently accepted container traits library has it.

indeed. See <boost/range/end.hpp> in the main cvs.
 
> That's cool. Then, what is the motivation of the initialization library?
>
> Andrei the malicious one

1. initilization.
2. easy syntax with pairs for maps
3. easy syntax n-tuples of arguments
4. you can also choose to call eg. push_front instead of push_back if the
container allows it
5. a few hooks like vector<int> v; v += 1,repeat(5,1); // do 5 1's

br

Thorsten


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