2014-11-13 17:10 GMT+01:00 Jason Merrill <ja...@redhat.com>: > On 11/13/2014 05:47 AM, Paolo Carlini wrote: >> >> shall we do something like the below? > > > Something similar, yes. Though it would also be nice to avoid the redundant > checking in the two functions: we only want to do constexpr folding if we > did the tsubst. > > Kai is working on folding changes, so I think let's let him weigh in on how > this will interact with his work. > > Jason >
So far this patch shouldn't interact to my work so far. Having such a function is nice. This redundant checking is indeed a bit backward as it can cost. Kai