libmoost
|
00001 /* vim:set ts=3 sw=3 sts=3 et: */ 00028 #ifndef MOOST_CONTAINER_MEMORY_MAPPED_DATASET_POD_PAIR_HPP__ 00029 #define MOOST_CONTAINER_MEMORY_MAPPED_DATASET_POD_PAIR_HPP__ 00030 00031 #include "config.hpp" 00032 00033 namespace moost { namespace container { 00034 00041 template <typename T1, typename T2> 00042 struct pod_pair 00043 { 00044 BOOST_STATIC_ASSERT_MSG(boost::is_pod<T1>::value, "pod_pair<> template can only handle POD types (T1)"); 00045 BOOST_STATIC_ASSERT_MSG(boost::is_pod<T2>::value, "pod_pair<> template can only handle POD types (T2)"); 00046 00047 T1 first; 00048 T2 second; 00049 }; 00050 00051 }} 00052 00053 #endif