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:
parent
6e2428ef20
commit
71dc824780
@ -59,7 +59,8 @@ namespace app4triqs {
|
||||
friend void h5_read(h5::group grp, std::string subgroup_name, toto &m);
|
||||
|
||||
/// Serialization
|
||||
template <class Archive> void serialize(Archive &ar) { ar &i; }
|
||||
void serialize(auto &ar) const { ar &i; }
|
||||
void deserialize(auto &ar) { ar &i; }
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user