Coincidentally, I just used bind (elsewhere, for something I haven't submitted 
a review for yet) for the very first time today.  It's wickedly convenient.

BTW, I know some people are nervous about so much boost use.  But in fact, 
almost 100% of our uses of boost are from a very few subsections of boost that 
also happen to have been adopted into C++11.  If you are one of those nervous 
people, then when you see "boost::" just mentally translate to "std::, but with 
a fallback implementation for people with older compilers".

        -- lg


On Jun 21, 2012, at 12:05 AM, Chris Foster wrote:

> On Thu, Jun 21, 2012 at 4:45 PM, Larry Gritz <[email protected]> wrote:
>> No, no, use boost::bind!!!  (Which I think is identical to std::bind
>> in C++11)
> 
> Good point, I'd forgotten about bind for some reason.
> 
> (Stefan: boost::bind is more or less the same under the covers to what I
> suggested, but far more elegant since it involves much much less
> boilderplate.)
> 
> ~Chris

--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to