Boost logo

Boost :

Subject: [boost] [bind] BOOST_BIND_NO_PLACEHOLDERS and unspecified-placeholder-type's
From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2014-03-24 03:10:17


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


but boost::arg<> is not documented!! (in fact, Boost.Bind synopsis
explicitly defines _1, _2 etc. as having undocumented
types unspecified-placeholder-type-1, unspecified-placeholder-type-2 and
so on).

Maybe Boost.Bind documentation can be changed so that
BOOST_BIND_NO_PLACEHOLDERS and boost::arg<> are

Thank you,

Joaquín M López Muñoz
Telefónica Digital


Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:

Boost list run by bdawes at, gregod at, cpdaniel at, john at