c++: strict constexpr and local vars