Daily Archive: March 5, 2020


initializer_list c++

If you set a list to an abject (or on auto keyword). CPP compiler assumes that the type of variable is initializer_list


Constexpr in C++

Constexpr is a new keyword for a C++ developer. Normally Const returns constant but in runtime. Constexpr generally is used in front of a function. The function should be able to calculate in compile...


Enums in C++

Here is the short note Enum class a new type, It is, of course, an enum bat using namespace. Type is the variable is char in here and the value of a type declared...