23 #define NAAUGMENT_HPP 1
62 : m_value(value), m_na(false)
85 operator const T&()
const
122 template <
class Archive>
123 void serialize(Archive& ar,
const unsigned int file_version);
162 template <
class Archive>
164 const unsigned int file_version)
166 ar & BOOST_SERIALIZATION_NVP(m_value);
167 ar & BOOST_SERIALIZATION_NVP(m_na);
171 namespace ElementTraits {
183 struct MustConstruct<NAAugment<T> > : boost::mpl::true_
187 struct MustDestruct<NAAugment<T> > : boost::mpl::true_
191 struct NAFunc<NAAugment<T> > {
199 struct IsNA<NAAugment<T> > {
208 #endif // NAAUGMENT_HPP