|
Boost Users : |
Subject: Re: [Boost-users] [lambda][tr1] Are the native std::tr1::function inVisual Studio and boost::lambda compatible?
From: John Maddock (john_at_[hidden])
Date: 2009-07-29 04:57:24
>I am using Visual Studio 2008 SP1 with the Intel 11.0 compiler and
> boost 1.38.
>
> I am compiling with the pre-processor directive: BOOST_HAS_TR1 (though
> I am not sure this does what I thought it did does since I see
> boost::tuples is used below).
>
> When I use the native tr1 function, I am unable to put a boost::lambda
> into it (which worked fine with boost::function), I get an errors.
> Any ideas?
I'm not sure of the ins and outs of this, but you will be using Microsoft's
implementation of std::tr1::function here. I'm not sure if boost::function
does something special to work with lambda's or if this is a bug in the
implementation.
John.
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