This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[C++11] DR1479 - Literal operators and default arguments
- From: Ed Smith-Rowland <3dw4rd at verizon dot net>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>, NightStrike <nightstrike at gmail dot com>
- Date: Tue, 23 Dec 2014 20:21:27 -0500
- Subject: [C++11] DR1479 - Literal operators and default arguments
- Authentication-results: sourceware.org; auth=none
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 want here actually so some feedback would be nice.
I could alternatively error and add a note about default argument.
Builds and tests clean on x86_64-linux.
OK?
Ed