Go to the documentation of this file.
36 #ifndef CHASTESERIALIZATIONVERSION_HPP_
37 #define CHASTESERIALIZATIONVERSION_HPP_
70 #include <boost/version.hpp>
71 #include <boost/serialization/version.hpp>
73 #if BOOST_VERSION >= 104400
79 #define CHASTE_VERSION_CONTENT(N) \
80 typedef boost::mpl::int_<N> type; \
81 typedef boost::mpl::integral_c_tag tag; \
82 BOOST_STATIC_CONSTANT(int, value = version::type::value)
84 #else // BOOST_VERSION >= 104400
90 #define CHASTE_VERSION_CONTENT(N) \
91 BOOST_STATIC_CONSTANT(unsigned, value = N)
93 #endif // BOOST_VERSION >= 104400