C++ - Immediately Invoked Lambda Expression
Immediately Invoked Lambda Expression technique on initialize the singleton
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
C++’s Ranges library enables enumeration of containers with access to both indices and elements.