Can we please have constexpr in C 2x to put an end to this madness?
As someone who doesn't do much C++, could `constexpr` actually do this all on its own? My (limited) understanding of `constexpr` would lead me to think that using it alone you couldn't generate the contents of the array like this. IE. You could define a `constexpr` function to calculate a single entry in the array, but you'd still need to call that function for every entry. In this case, it looks to me like the bulk…
yes, some people have written entire constexpr raytracers for instance : https://github.com/tcbrindle/raytracer.hpp