azonenberg, 18 days ago How did I just find out today that C++ supports digit separators in integer literals since C++ '14?
How did I just find out today that C++ supports digit separators in integer literals since C++ '14?
thezoq2, 18 days ago @azonenberg oh that's good to know, I wonder why they chose ' and not _ like a lot of languages that have the feature
@azonenberg oh that's good to know, I wonder why they chose ' and not _ like a lot of languages that have the feature
azonenberg, 18 days ago @thezoq2 Yeah I wish they used _ which is what SystemVerilog uses. ' is a bit strange.
@thezoq2 Yeah I wish they used _ which is what SystemVerilog uses. ' is a bit strange.
FantasmitaAsex, 18 days ago @azonenberg another thing that C++ copy from DLang 😂
@azonenberg another thing that C++ copy from DLang 😂
azonenberg, 18 days ago @FantasmitaAsex I've been using this feature in SystemVerilog for years and always assumed C++ couldn't do it. TIL.
@FantasmitaAsex I've been using this feature in SystemVerilog for years and always assumed C++ couldn't do it. TIL.
jens, 18 days ago @azonenberg Eh, because C++ was a moving target for a good decade or two, and now it seems to be slowing down again.
@azonenberg Eh, because C++ was a moving target for a good decade or two, and now it seems to be slowing down again.
Add comment