[cfe-dev] lifetime of conditional temporaries

Mike Stump mrs at apple.com
Tue Nov 17 05:30:13 PST 2009


On Nov 17, 2009, at 4:44 AM, Victor Zverovich wrote:
> I have found out that in clang conditional temporaries are destroyed  
> not at the end of the full expression as in gcc but apparently at  
> the end of the conditional branch.

> Is this intended or needs to be fixed in clang?

Sounds like an unimplemented feature.

> In the latter case and if nobody is already working on it I can try  
> fixing it.

I don't think anyone is working on it currently.



More information about the cfe-dev mailing list