Boost logo

Boost Users :

Subject: Re: [Boost-users] phoenix bind vs boost bind?
From: Vee Kay (vkicefire_at_[hidden])
Date: 2014-04-10 16:42:15


On 08/04/14 14:40, Robert Dailey wrote:
> If I intermingle them, I have a lot of issues out of placeholder
> ambiguities that results in more boilerplate code (i.e. using
> boost::phoenix::placeholders::_1 everywhere).
>

You should be able to use arg1 instead, they are the same type:

https://github.com/boostorg/phoenix/blob/88b1eb2837e64e1808d755844fe1f868119600cc/include/boost/phoenix/core/preprocessed/argument_10.hpp

Albert


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