12#ifndef __cxz_cereal_array_cc_h__
13#define __cxz_cereal_array_cc_h__
17#include <cereal/cereal.hpp>
22 template <
class Archive>
23 void MArray<T>::save(
Archive&
ar,
const std::uint32_t version)
const
25 CXZ_ASSERT(version == 1u,
"format version = " << version <<
" not supported");
26 ar(cereal::make_nvp(
"range", AB::mRange));
27 ar(cereal::make_nvp(
"data", mCont));
31 template <
class Archive>
32 void MArray<T>::load(
Archive&
ar,
const std::uint32_t version)
34 CXZ_ASSERT(version == 1u,
"format version = " << version <<
" not supported");
36 ar(cereal::make_nvp(
"data", mCont));
#define CXZ_ASSERT(statement, errmsg)
RangePtr save_load(Archive &ar, const String &name, RangePtr &r)
Sptr< Range > rangeCast(const RangePtr r)