Boost logo

Boost Users :

Subject: Re: [Boost-users] lambda - if_then_else - Compiler can not deduce my Arguments
From: Juraj Ivanèiæ (juraj.ivancic_at_[hidden])
Date: 2011-03-28 08:26:19


On 28.3.2011 14:17, Simon Adler wrote:
>
> I tried to solve this with explicit namespace declarations and replaced
> _1 via boost::lambda::_1
> I also tried to replace all with ::_1 which should explicitly take the
> declarations from bind/placeholders.hpp thouse are in an unnamed
> namespace. Please - how can I solve this without using Phoenix? - Not
> that i don't like your solution but i will understand.

You should also replace boost::bind with boost::lambda::bind.

HTH


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