2 ms·
Your example still gets calculated at compile time if you remove the constexpr. However, if you change -O3 to -O2, then there's a difference.
by TillE 10y ago
Your example still gets calculated at compile time if you remove the constexpr. However, if you change -O3 to -O2, then there's a difference.