Use of constexpr function before definition fails
A constexpr function does NOT have to be defined before its first use, however the result of any call made prior to definition is not a constant expression. Source: C++ Standard draft n4296, section 5.20: A conditional-expression e is a core constant expression unless the evaluation of e, following the rules of the abstract machine, … Read more