Boost logo

Boost Users :

From: Stuart Dootson (stuart.dootson_at_[hidden])
Date: 2006-02-23 02:35:15


On 2/23/06, yinglcs2_at_[hidden] <yinglcs2_at_[hidden]> wrote:
> Thanks. I add the import and namespace, but I still
> get the same arror:
>
> ../Utils.h: In function 'void keySet(T&,
> std::vector<int, std::allocator<int> >&)':
> ../Utils.h:175: error: use of '_1' is ambiguous
> /usr/include/boost/lambda/core.hpp:69: error: first
> declared as 'const boost::lambda::placeholder1_type&
> boost::lambda::<unnamed>::_1' here
>
> --- nitin motgi <nitin.motgi_at_[hidden]> wrote:
>

<snip>

Post a complete sample - that looks like you might have included
boost/lambda/bind.hpp and boost/bind.hpp

Stuart Dootson


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