On May 5, 2013, at 10:52 AM, John Bytheway
On 2013-05-05 07:28, Rob Stewart wrote:
On May 4, 2013, at 5:16 PM, Anurag Kalia
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.
date(_1, dec, 2013);
Those are shorter and less prone to sounding odd. By the latter I mean that I'd never say "first December 2013", but would s/first/one/. OTOH, I would say "December first, 2013", so perhaps we could offer ordinals, too.
Given your preference to provide support only for the YMD order, which is not an order I would speak otherwise, I don't know whether "first" or "one" is more natural, so maybe that also argues for both.
FWIW, I would say "first December", not "one December"
I was in the USAF, where 1 DEC 2013 is the vernacular, pronounced "one December twenty thirteen."
(although I'd be more likely to say "December first" or even "December the first" than either of those). I'm a native British English speaker.
I, too would be more likely, now, to say "December first," but that order isn't in the offing. ___ Rob (Sent from my portable computation engine)