
23 May
2008
23 May
'08
9:03 a.m.
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