C++ - Class template argument deduction guide
A deduction guide tells the compiler how to deduce template arguments when you construct an object without explicitly specifying them.
A deduction guide tells the compiler how to deduce template arguments when you construct an object without explicitly specifying them.
Immediately Invoked Lambda Expression technique on initialize the singleton
enum_cast can detect wrong case in compile time by using a constexpr with static_assert
Interesting C++ template meta programming without template
C++20 introduced the constinit which will initialize the value at compile time but still you can modify it at runtime