On 2/7/19 6:02 PM, Marek Polacek wrote:
Since r268321 we can call digest_init even in a template, when the compound literal isn't instantiation-dependent.
Right. And since digest_init modifies the CONSTRUCTOR in place, that means the template trees are digested rather than the original parse trees that we try to use. If we're going to use digest_init, we should probably save another CONSTRUCTOR with the original trees.
Jason