Re:C++17 constexpr everything, or as much as the compiler can
by jcelerier on Thursday December 28, 2017 @07:57AM
(#16021758)
> If the code to generate the data is large and complex, how do you debug it when it only runs at compile time?
that's up to the compiler actually. For instance, in debug mode visual studio skips constexpr and does everything at runtime (which sucks if you depend on stuff being constexpr).
that's up to the compiler actually. For instance, in debug mode visual studio skips constexpr and does everything at runtime (which sucks if you depend on stuff being constexpr).