OS Manuals

cereal_SizeTag(3)

cereal::SizeTag< T > - A wrapper around size metadata.

cereal::SizeTag< T >(3) Library Functions Manual cereal::SizeTag< T >(3)

cereal::SizeTag< T > - A wrapper around size metadata.

#include </home/build/include/cereal/details/helpers.hpp>


SizeTag (T &&sz)


Type size

(Note that these are not member symbols.)
template<class T> SizeTag< T > make_size_tag (T &&sz)
Creates a size tag from some variable.

class cereal::SizeTag< T >"A wrapper around size metadata.

This class provides a way for archives to have more flexibility over how they choose to serialize size metadata for containers. For some archive types, the size may be implicitly encoded in the output (e.g. JSON) and not need an explicit entry. Specializing serialize or load/save for your archive and SizeTags allows you to choose what happens.

Generated automatically by Doxygen for cereal from the source code.

Sat Oct 10 2026 08:08:15 cereal

cereal 1.3.2-r6 · enterprise-packages · ingested 2026-10-10