|
Boost Users : |
From: Johan Råde (rade_at_[hidden])
Date: 2008-05-23 05:03:03
Bruno Lalande wrote:
> Hello,
>
>> That could be a bit dangerous.
>> is_pod can given different result with different compilers.
>
> I thought that is_pod and all other Boost.TypeTraits metafunctions
> were much more reliable than what you say.
From the is_pod documentation:
"Without some (as yet unspecified) help from the compiler, ispod will never report that a class or
struct is a POD; this is always safe, if possibly sub-optimal. Currently (May 2005) only MWCW 9 and
Visual C++ 8 have the necessary compiler-_intrinsics."
--Johan
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net