effective c++
[EMCpp]Item-15 Use Constexpr Whenever Possible
· β˜• 4 min read

constexpr objects are const and are initialized with values known during compilation; constexpr functions can produce copmile-time results when called with arguments whose values are know during compilations.