by genneth · 6y ago · 0 comments
But maybe this is unavoidable once you have sufficiently complex const fn anyway...
It makes things much easier to think about: at a minimum, if you change the body of a function it doesn't affect whether other code compiles or not. It's also one of the big differences between generic parameters (all in the function signature) and template metaprogramming (templates can do duck typing).