|
|
|
|
|
by throwaway173738
1118 days ago
|
|
The other problem with implicit constexpr is that it can change the timing characteristics of your code depending on whether your input data is known at compile time. And then if you want it to be constexpr you have to troubleshoot why it sometimes isn’t. I think this approach of maximal control in exchange for some foot guns is very much in keeping with C++. |
|
> for some foot guns
There just aren't any with this feature.