[cfe-dev] __is_pod documentation is misleading
bop at gmb.dk
Wed Feb 27 08:22:12 PST 2013
I believe this originally was a bug that MS chose to document rather than fix.
IIRC, the Boost maintainers have noticed this before.
27 feb 2013 kl. 00:45 skrev Jeff Walden <jwalden+clang at mit.edu>:
> http://clang.llvm.org/docs/LanguageExtensions.html claims __is_pod is also supported by GNU and Microsoft. That's true, but the Microsoft implementation has different semantics -- it's false for fundamental types.
> It may be worth noting this difference so people familiar with clang/GNU __is_pod semantics don't find out the hard way that MSVC's are different. I wouldn't be surprised if other traits have different MSVC semantics, given this surprising difference, but I only checked __is_pod.
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev