Example of an Implementation defined core constant expression whose evaluation has runtime undefined behavior
Summary The C++ standard defines a core constant expression as an expression that can be evaluated at compile-time, but with some exceptions. One such exception is when an expression satisfies the constraints of a core constant expression but has runtime-undefined behavior. This article explores an example of such an implementation-defined core constant expression. Root Cause … Read more