Boost logo

Boost :

Subject: Re: [boost] Curiousity question
From: Sylvester-Bradley, Gareth (Gareth.Sylvester-Bradley_at_[hidden])
Date: 2016-10-31 05:40:42

Hi Edward,

On 29 October 2016 19:35, Edward Diener wrote:
> On 10/13/2016 12:50 PM, Sylvester-Bradley, Gareth wrote:
> > Your test has "using namespace cxxd_bind_ns::placeholders;" (
> > If you omitted this, and changed the uses of _1, _2, to cxxd_bind_ns::placeholders::_1, cxxd_bind_ns::placeholders::_2, I think you'd discover you've not mapped the Boost placeholders.
> As I originally replied I did not map the placeholders nested namespace for the bind dual library.
> But you are wrong in your assumption above.
> CXXD works perfectly well with the cxxd_bind_ns::placeholders::_n notation. There is no problem
> in C++ using a nested namespace for a namespace alias that is set to the namespace in which the
> nested namespace resides.

I knew that. But I didn't think Boost's placeholders were in boost::placeholders.
They weren't as of 1.59.0, but it turns out I'd missed
So I'm sorry, I was out of date.

Best regards,

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