Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-31 05:52:46

From: "Yitzhak Sapir" <ysapir_at_[hidden]>
> > Now, regarding the BOOST_BIND_NO_PLACEHOLDERS macro, at first I
> thought
> > it was a mechanism for solving the precompiled headers. In this view,
> > you use BOOST_BIND_NO_PLACEHOLDERS in a precompiled header, and then
> > include boost/bind/placeholders.hpp in the cpp.
> Yes.
> > Peter apparently has a different issue, being that some people may not
> > like _1 .. _9, and for those people they can use boost::arg<1> etc.
> And yes.
> ------------------
> I would have wished your answer was no and yes, or yes and yes but the
> workaround will still be implemented. Precompiled headers should be
> something that is independent of the way the headers were coded.

Would declaring the placeholders 'static' solve the precompiled header
problem? Technically, this kind of thing is deprecated, of course. ;-)

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