This blew my mind. Mostly because I haven't come across this during 8 years of c++ use for professional/competitive programming.
int operator"" _km(unsigned long long);
auto distance = 42_km;
The breadth of crazy features in C++ is really huge, when you dig in. template _km(ulong v) { enum _km = inKilometers(v); }
auto distance = _km!42;
It's used by the Sargon library to create a halffloat type:https://digitalmars.com/sargon/halffloat.html
I haven't seen it used in C++, though my C++ experience post this feature is limited.
"A safer string"s
Declares a std::string constant.While I agree C++ is huge, I doubt anyone would survive a Python, Java, C#, VB.NET, JavaScript, Typescript, Fortran, Ada, Common Lisp, COBOL, C pub quiz, based on the very latest language versions.