|
|
Nicolas Alvarez wrote:
> You can overload the comma operator!
Oh yeah - that too! :-S
> boost::assign does some nasty stuff with it, to let you add stuff to STL
> containers like this:
>
> std::vector<int> mylist;
> mylist += 1,2,3,4; // uses overloaded += and , operators
...da hell? That's just mental!
OOC, what the hell is this "boost" I keep hearing about?
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
|