Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::bind/boost::function and fast delegates
From: Bill Buklis (boostusr_at_[hidden])
Date: 2013-01-24 13:55:04


On 1/22/2013 4:33 AM, Robert Kawulak wrote:
>> From: Littlefield, Tyler
>>> On 1/21/2013 2:26 PM, Steve Lorimer wrote:
>>> > we're only using boost::bind and boost::function.
>>> At the risk of stating the obvious, why not use std::bind and std::function?
>>> They are part of the current standard library, introduced in c++11
>> But not supported by vs 2010 (or 2008), which is what half of the team still
> uses.
>
> According to MSDN, VS2008 and VS2010 have std::tr1::bind and std::tr1::function.
>

Actually starting with VS2010 bind and function were moved into the
standard namespace and are now std::bind and std::function. For that
matter I think all of what was originally std::tr1 is now just in the
std namespace.

-- 
Bill

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net