|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-07 17:52:43
----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, March 07, 2002 4:02 PM
Subject: Re: [boost] bind placeholders/tuples ignore and BCB pch
> From: "Fernando Cacciola" <fcacciola_at_[hidden]>
> [...]
> > I also noticed that the bind placeholders have changed in the new
version,
> > but the change doesn't solve the Borland problem.
> >
> > As it has been mentioned before, the solution is to declare those
> variables
> > 'extern' (except once in some TU).
>
> And of course there's also the problem that _1 is fine in the unnamed
> namespace but illegal at file scope. :-(
Has anyone considered:
using namespace boost::bind::placeholders;
as a solution to this? I've been thinking of providing 1 or 2 similar
convenience namespaces for Boost.Python
--Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk