3 ms·
In C++1y/C++14, you can use the apostrophe. i.e. 2'333 They took a backward compatible approach by using a symbol that's not already used for other operations,
by mailslot 10y ago
In C++1y/C++14, you can use the apostrophe. i.e. 2'333
They took a backward compatible approach by using a symbol that's not already used for other operations, like "," or "." or ";" The grammar would be non-trivial or too restricted otherwise, IMO.
- bengunnink 10y agoRecent Java versions did something similar, allowing underscore characters, e.g., 7_000_000.