News for hackers. Stuff that matters.
Re:C++14 by alex-g on Friday November 02, 2012 @11:04AM (#4732948)
This seems to me to be far more useful than user-defined literals (the conflicting feature). At least, I can think of many programs where digit separators would be nice - but for user-defined literals, I don't see them as providing much. We could already make invocations like "pixels(200)" and being able to say "200_pixels" doesn't add much to that, except complicating the parser.
Re:C++14 by anonymouz on Friday November 02, 2012 @11:14AM (#4732996)
The problem with this argument is that user-defined literals already exist in C++11, and use of the underscore character for a different purpose in a future standard has to be in such a way that it can be unambiguously distinguished from the user-defined literal usage. Backward-compatibility to the current standard has to be preserved.
Re:C++14 by alex-g on Friday November 02, 2012 @11:15AM (#4733007)
Oh, absolutely, I just think it's a shame.