
2 Jun
2015
2 Jun
'15
12:59 p.m.
Louis Dionne wrote:
I assume that you mean for 'f' to be constexpr?
No, it does not change a thing. It was on purpose that I did _not_ make it constexpr, in order not to mix concerns. What we're interested in is the constexpr-ness of `s` within the body of `f`, whether `f` is constexpr or not does not change anything.
I know that it doesn't, but we're demonstrating that 's' isn't constexpr even when 'f' is, which is a stronger claim than that 's' isn't constexpr when 'f' isn't. :-)