Created
June 23, 2011 22:06
-
-
Save springmeyer/1043755 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <typename T> struct is_pod_impl | |
{ | |
static const bool value = (::boost::type_traits::ice_or< ::boost::is_scalar<T>::value, ::boost::is_void<T>::value, __is_pod(T) >::value); | |
}; | |
template <typename T, std::size_t sz> | |
struct is_pod_impl<T[sz]> | |
: public is_pod_impl<T> | |
{ | |
}; | |
# 124 "/opt/boost-trunk/include/boost/type_traits/is_pod.hpp" | |
template<> struct is_pod_impl< void > { public: static const bool value = (true); }; | |
template<> struct is_pod_impl< void const > { public: static const bool value = (true); }; | |
template<> struct is_pod_impl< void volatile > { public: static const bool value = (true); }; | |
template<> struct is_pod_impl< void const volatile > { public: static const bool value = (true); }; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment