Quote:Original post by someboddyQuote:Original post by snk_kid
If your compiler doesn't have intrinsic support for is_pod then you're are suppose to (partially) specialize your user-defined types to state that they are POD-struct types.
How can I do that?
Just (partially) specialize boost::is_pod:
#include <boost/static_assert.hpp>#include <boost/type_traits/is_pod.hpp>struct my_pod_type {};template <>struct boost::is_pod<my_pod_type> : boost::true_type {};BOOST_STATIC_ASSERT((boost::is_pod<my_pod_type>::value));
There most probably is a macro to help write specialization boiler-plate code, just check the documentation.