NDDEM
cereal::traits::is_same_archive< ArchiveT, CerealArchiveT > Struct Template Reference

Checks if the provided archive type is equal to some cereal archive type. More...

#include <traits.hpp>

+ Inheritance diagram for cereal::traits::is_same_archive< ArchiveT, CerealArchiveT >:

Detailed Description

template<class ArchiveT, class CerealArchiveT>
struct cereal::traits::is_same_archive< ArchiveT, CerealArchiveT >

Checks if the provided archive type is equal to some cereal archive type.

This automatically does things such as std::decay and removing any other wrappers that may be on the Archive template parameter.

Example use:

// example use to disable a serialization function
void save( Archive & ar, MyType const & mt );
void save(Archive &ar, SetT const &set)
Definition: set.hpp:42
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1282
static const detail::sfinae sfinae
Used as the default value for EnableIf and DisableIf template parameters.
Definition: traits.hpp:88

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