News for hackers. Stuff that matters.
Re:The C++14 Standard: What You Need to Know by flebron on Wednesday September 17, 2014 @10:31AM (#8330127)
Underscores are already being used for user defined literals.
Re:The C++14 Standard: What You Need to Know by drdaeman on Wednesday September 17, 2014 @10:37AM (#8330174)
User-defined literals can't generally start with a digit, so it should be perfectly fine to allow 1_000_000 syntax for 1000000. Or I'm forgetting something?
Re:The C++14 Standard: What You Need to Know by jeorgun on Wednesday September 17, 2014 @11:05AM (#8330331)
Hexadecimal numbers, probably. 0x001_f05 would be ambiguous.
Re:The C++14 Standard: What You Need to Know by AnimalMuppet on Wednesday September 17, 2014 @11:41AM (#8330533)
I don't think that's it. 0x001_f05 starts with 0, which is still not something an identifier can do.
Re:The C++14 Standard: What You Need to Know by plorkyeran on Wednesday September 17, 2014 @11:44AM (#8330545)
0x001_f05 could be a UDL named f05 which should be passed 0x001.
Re:The C++14 Standard: What You Need to Know by AnimalMuppet on Wednesday September 17, 2014 @12:18PM (#8330744)
Oh. UDLs are a new one to me. I didn't know that was in the language.

I stand corrected.

Re:The C++14 Standard: What You Need to Know by nightcracker on Wednesday September 17, 2014 @06:47PM (#8332786)
Where do you get this information from, because it's entirely incorrect.