SeqAn3  3.0.2
The Modern C++ library for sequence analysis.
seqan3::cerealisable Interface Reference

Specifies the requirements for types that are serialisable via Cereal. More...

#include <seqan3/core/concept/cereal.hpp>

+ Inheritance diagram for seqan3::cerealisable:

Detailed Description

Specifies the requirements for types that are serialisable via Cereal.

The value_t type satisfy the cerealisable, if value_t can be serialised with cereal, i.e. value_t has a single serialisation function (serialize) or split load/save pair (load and save) either inside or outside of the class.

See also
https://uscilab.github.io/cereal/serialization_functions.html
using namespace seqan3;
// fundamental types are serialisable
static_assert(cerealisable<int>);
#include <array>
#include <cereal/types/array.hpp> // std::array is now serialisable
#include <seqan3/alphabet/nucleotide/dna4.hpp> // dna4 is serialisable
static_assert(cerealisable<dna4>);
Attention
The cereal library is an optional dependency of SeqAn, if it is not found no types satisfy this concept.

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