Jump to content

Constexpr

From C++ Forever

The constexpr keyword in C++ is used to define constants that are evaluated at compile time, ensuring optimized and predictable behavior.

It can gives performance boost.