[C++11] DR1479 - Literal operators and default arguments

2014-12-23 Thread Ed Smith-Rowland
I tried this patch a year ago and, as pointed out by NightStrike, got lost in the shuffle. The idea is that default arguments in literal operators would lead to ambiguities and might not act like the uthor intends. The earlier patch errors out. This time I just warn. I'm not sure what we

[C++11] DR1479 - Literal operators and default arguments

2014-12-23 Thread Ed Smith-Rowland
And now with a patch... I tried this patch a year ago and, as pointed out by NightStrike, got lost in the shuffle. The idea is that default arguments in literal operators would lead to ambiguities and might not act like the uthor intends. The earlier patch errors out. This time I just

[C++11] DR1479 - Literal operators and default arguments

2013-12-05 Thread Ed Smith-Rowland
This patch rejects literal operators with defaulted arguments with an extra note to that effect. Not a big deal but it responds to a malformed program statement in the draft. Builds and tests clean on x86_64-linux. OK? Ed CL_udlit_nodefault Description: Binary data