C++: in-class-initializer
C++ is infamous for its extremely complex initialization. Since C++11 one can initialize class members directly at point of declaration. The official name is...
C++ is infamous for its extremely complex initialization. Since C++11 one can initialize class members directly at point of declaration. The official name is...
_
C++ is on its way to get a placeholder variable _ similar to other languages, e.g., Python, rust.
consteval
vs constexpr
vs runtime functions
There is this in-depth blog post going over consteval, constexpr, and runtime functions.
Were you always intrigued by inline, static, extern keywords in C++? Then look no further. This stackoverflow answer is as short and precise as it can be.
cppiceberg