libmoost
|
#include <pod_pair.hpp>
Public Member Functions | |
BOOST_STATIC_ASSERT_MSG (boost::is_pod< T1 >::value,"pod_pair<> template can only handle POD types (T1)") | |
BOOST_STATIC_ASSERT_MSG (boost::is_pod< T2 >::value,"pod_pair<> template can only handle POD types (T2)") | |
Public Attributes | |
T1 | first |
T2 | second |
Helper struct for memory-mapped map types
Unfortunately, std::pair<> itself isn't POD even when used with only POD types. Thus we need this std::pair<> look-a-like that is POD.
Definition at line 42 of file pod_pair.hpp.
moost::container::pod_pair< T1, T2 >::BOOST_STATIC_ASSERT_MSG | ( | boost::is_pod< T1 >::value | , |
"pod_pair<> template can only handle POD types (T1)" | |||
) |
moost::container::pod_pair< T1, T2 >::BOOST_STATIC_ASSERT_MSG | ( | boost::is_pod< T2 >::value | , |
"pod_pair<> template can only handle POD types (T2)" | |||
) |
T1 moost::container::pod_pair< T1, T2 >::first |
Definition at line 47 of file pod_pair.hpp.
T2 moost::container::pod_pair< T1, T2 >::second |
Definition at line 48 of file pod_pair.hpp.