23
Am I right, that:
- Any function defined with
constexpris a pure function, and - Any pure function can be and must be defined with
constexprif it's not very expensive for compiler.
And if so, why arent <cmath>'s functions defined with constexpr ?