Chaste
Release::3.4
|
#include <boost/version.hpp>
#include <boost/serialization/version.hpp>
Go to the source code of this file.
Macros | |
#define | COVERAGE_IGNORE |
gcov doesn't like this file... | |
#define | CHASTE_VERSION_CONTENT(N) BOOST_STATIC_CONSTANT(unsigned, value = N) |
Provide a wrapper around Boost's serialization version to cope with changes in library interface. Include this header in place of <boost/serialization/version.hpp>
For simple classes T, a version number N can be specified just by using the Boost macro BOOST_CLASS_VERSION(T, N)
However, templated classes need to expand the definition of this macro, the contents of which changed in Boost 1.44. Use the CHASTE_VERSION_CONTENT macro within your template.
For example:
Definition in file ChasteSerializationVersion.hpp.
#define CHASTE_VERSION_CONTENT | ( | N | ) | BOOST_STATIC_CONSTANT(unsigned, value = N) |
Content for the Boost serialization version template on Boost 1.43 and below.
N | the version number |
Definition at line 90 of file ChasteSerializationVersion.hpp.