constexpr specifier (since C++11) - cppreference.com
https://en.cppreference.com/w/cpp/language/constexpr
The constexpr specifier declares that it is possible to evaluate the value of the function or variable at compile time. Such variables and functions can then be used where only compile time constant expressionsare allowed (provided that appropriate function arguments are given). A constexpr specifier used in an object declaration or non-static memb...
The constexpr specifier declares that it is possible to evaluate the value of the function or variable at compile time. Such variables and functions can then be used where only compile time constant expressionsare allowed (provided that appropriate function arguments are given). A constexpr specifier used in an object declaration or non-static memb...
DA: 8 PA: 94 MOZ Rank: 31