Boost logo

Boost :

Subject: Re: [boost] [config] call to destructor of temporary
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-10-15 04:45:13


> I have had some trouble debugging some code with clang-2.9 c++0x. The
> reason was a known bug on the compiler as it doesn't call the destructor
> of temporaries at the end of the expression.
>
> Is there a macro stating this missing feature?

No, because no one has ever mentioned it before.

Besides it's not a missing feature, it's a pretty compiler specific serious
bug, so I suggest a BOOST_WORKAROUND - if such a workaround is even possible
in that case :-(

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk