SeqAn3
seqan3::cerealisable_concept Interface Reference

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

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

Inheritance diagram for seqan3::cerealisable_concept:
[legend]

Detailed Description

Specifies the requirements for types that are serialisable via Cereal.

The value_t type satisfy the cerealisable_concept, 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
#include <array>
#include <cereal/types/array.hpp> // std::array is now serialisable
static_assert(cerealisable_concept<std::array<int, 12>>);
#include <seqan3/alphabet/nucleotide/dna4.hpp> // dna4 is serialisable
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: