Lime3DS/src/common/archives.h

15 lines
424 B
C++
Raw Normal View History

2019-08-06 16:59:31 +02:00
#include "boost/archive/binary_iarchive.hpp"
#include "boost/archive/binary_oarchive.hpp"
2019-08-07 18:08:52 +02:00
using iarchive = boost::archive::binary_iarchive;
using oarchive = boost::archive::binary_oarchive;
#define SERIALIZE_IMPL(A) template void A::serialize<iarchive>( \
iarchive & ar, \
2019-08-06 16:59:31 +02:00
const unsigned int file_version \
); \
2019-08-07 18:08:52 +02:00
template void A::serialize<oarchive>( \
oarchive & ar, \
2019-08-06 16:59:31 +02:00
const unsigned int file_version \
);