POV-Ray : Newsgroups : povray.off-topic : C++ questions : Re: C++ questions Server Time
7 Sep 2024 15:26:55 EDT (-0400)
  Re: C++ questions  
From: Orchid XP v8
Date: 26 Sep 2008 17:21:51
Message: <48dd526f$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.