[cfe-dev] Adding lifetime begin/end to unnamed temporaries

Renato Golin renato.golin at linaro.org
Fri Aug 1 05:55:52 PDT 2014


On 1 August 2014 13:48, Arnaud A. de Grandmaison
<arnaud.degrandmaison at arm.com> wrote:
> A possible path, along the line of what you suggest, would be to activate lifetime markers only in the non-throwing cases (or when compiled with -fno-exceptions). The exceptional part could come later.

That's what I was thinking, yes.

If you label the feature as "experimental" and only turn it on with a
specific flag, it could be in an incomplete (though correct) state for
a while before being made official.

cheers,
--renato



More information about the cfe-dev mailing list