
10 Jul
2004
10 Jul
'04
7:22 a.m.
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