MADNESS 0.10.1
madness::archive::ArchiveSerializeImpl< Archive, T, Enabler > Struct Template Reference

Default symmetric serialization of a non-fundamental type that has serialize method. More...

#include <archive.h>

Static Public Member Functions

template<typename A = Archive, typename U = T, typename = std::enable_if_t<has_member_serialize_v<U,A>>>
static void serialize (const Archive &ar, T &t)
 Serializes the type.

Detailed Description

template<class Archive, class T, typename Enabler>
struct madness::archive::ArchiveSerializeImpl< Archive, T, Enabler >

Default symmetric serialization of a non-fundamental type that has serialize method.

Template Parameters
ArchiveThe archive type.
TThe type to symmetrically serialize.

Member Function Documentation

◆ serialize()

template<class Archive, class T, typename Enabler>
template<typename A = Archive, typename U = T, typename = std::enable_if_t<has_member_serialize_v<U,A>>>
void madness::archive::ArchiveSerializeImpl< Archive, T, Enabler >::serialize ( const Archive & ar,
T & t )
inlinestatic

The documentation for this struct was generated from the following file: