[v3] Fix debug-mode std::bitset vs constexpr
Paolo Carlini
paolo.carlini@oracle.com
Sun Nov 7 15:16:00 GMT 2010
Hi,
testing debug-mode revealed a pretty serious issue in the form of two
compile-time fails: since _Safe_sequence_base has a non
trivial-destructor (and possibly for other reasons too, I didn't
investigate in detail yet), deriving from it caused std::bitset to not
be a literal type anymore. For now I'm just suppressing the derivation,
thus disabling some debug-mode checks in C++0x mode (to be honest there
aren't so many, anyway), better solutions welcome of course.
Tested x86_64-linux, committed to mainline.
Paolo.
/////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_bitset
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20101107/da7ccfd8/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_bitset
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20101107/da7ccfd8/attachment-0001.ksh>
More information about the Libstdc++
mailing list