|
Boost Users : |
Subject: Re: [Boost-users] Why use 'functional composition' with boost::bind
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2010-08-04 09:55:58
Gaetano Mendola wrote:
> On 08/04/2010 01:49 PM, Jeff Flinn wrote:
>>
>>
Huh, with which lib? Is _1 in the global namespace, or is this assuming
>>
a using namespace?
>
> #include <boost/lambda/lambda.hpp>
>
>
boost::lambda::_1
boost.lambda placeholders don't work with
boost.bind.
"::_1" should solve this problem (or don't pull in everything
form the boost::lambda namespace).
> Regards
> Gaetano Mendola
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