Subject: Re: [boost] [bind] BOOST_BIND_NO_PLACEHOLDERS and unspecified-placeholder-type's
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-03-25 10:48:19
On 03/24/2014 12:10 AM, Joaquín Mª López Muñoz wrote:
> The non-documented BOOST_BIND_NO_PLACEHOLDERS macro suppresses the
> definition of (anonymous namespace)::_1,
> (anonymous namespace)::_2, etc., presumably to cope with potential
> clashes with other libs' placeholders such as
> Boost.Lambda's when in the presence of using directives. The problem
> with this is that using Boost.Bind without placeholder
> names requires writing code such as
The other solution is to define your own placeholders.
You just need to specialize boost::is_placeholder.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk