3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 11:13:46 +01:00

Update example API to include serialization function

This commit is contained in:
Nils Wentzell 2024-08-14 16:52:17 -04:00
parent 6e2428ef20
commit 71dc824780

View File

@ -59,7 +59,8 @@ namespace app4triqs {
friend void h5_read(h5::group grp, std::string subgroup_name, toto &m); friend void h5_read(h5::group grp, std::string subgroup_name, toto &m);
/// Serialization /// Serialization
template <class Archive> void serialize(Archive &ar) { ar &i; } void serialize(auto &ar) const { ar &i; }
void deserialize(auto &ar) { ar &i; }
}; };
/** /**