2 ms·
> another file that initializes a static variable with a function that calls NeverCalled How would that work in actual code? Static initialization must be done
by tom_mellior 9y ago
> another file that initializes a static variable with a function that calls NeverCalled
How would that work in actual code? Static initialization must be done with constant expressions. C++ has constexpr functions, but they cannot call NeverCalled unless it is also marked constexpr, can they?