[Bug c++/52654] [C++11] Warn on overflow in user-defined literals
3dw4rd at verizon dot net
gcc-bugzilla@gcc.gnu.org
Sat Mar 31 20:09:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52654
--- Comment #8 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2012-03-31 18:29:45 UTC ---
I think it's actually (-3)_w. The tokenizer would pick the - up and pass -3
along.
The result of applying a literal operator may not be numeric at all i.e.
operator- would mean nothing.
I guess it would be taken care of however -3 would be for unsigned long long.
More information about the Gcc-bugs
mailing list