
15 Oct
2012
15 Oct
'12
8:45 a.m.
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.