Subject: Re: [boost] [gsoc 2013] draft proposal for chrono::date
From: John Bytheway (jbytheway+boost_at_[hidden])
Date: 2013-05-05 21:11:07
On 2013-05-05 19:36, Rob Stewart wrote:
> On May 5, 2013, at 10:52 AM, John Bytheway <jbytheway+boost_at_[hidden]> wrote:
>> On 2013-05-05 07:28, Rob Stewart wrote:
>>> On May 4, 2013, at 5:16 PM, Anurag Kalia <anurag.kalia_at_[hidden]> wrote:
>>>> Moreover, there are also _1st, _2nd, ... , _31st and last.
>>> Why not use (and extend) the placeholders used for bind?
>> Which bind? std? boost? The Boost.Bind placeholders should be avoided because their position in the global namespace has caused lots of grief.
> I was speaking more abstractly of using _1, etc.
>> I'd say overloading any of these placeholders is confusing and dangerous.
> Surely you don't mean using *some* _1 is confusing or dangerous.
I mean that if you use a _1, then it shouldn't be a _1 which is also a
placeholder. It should be from a different namespace.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk