OS Manuals

cereal_DeferredData(3)

cereal::DeferredData< T > - A wrapper around data that should be serialized after all non-deferred data.

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

cereal::DeferredData< T > - A wrapper around data that should be serialized after all non-deferred data.

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

Inherits cereal::detail::DeferredDataCore.


DeferredData (T &&v)
Constructs a new NameValuePair.


Type value

(Note that these are not member symbols.)
template<class T> DeferredData< T > defer (T &&value)
Marks data for deferred serialization.

class cereal::DeferredData< T >"A wrapper around data that should be serialized after all non-deferred data.

This class is used to demarcate data that can only be safely serialized after any data not wrapped in this class.

Constructs a new NameValuePair.

Parameters

v The value to defer. Ideally this should be an l-value reference so that the value can be both loaded and saved to. If you pass an r-value reference, the DeferredData will store a copy of it instead of a reference. Thus you should only pass r-values in cases where this makes sense, such as the result of some size() call.

Generated automatically by Doxygen for cereal from the source code.

Mon Oct 26 2026 02:55:37 cereal

cereal 1.3.2-r7 · enterprise-packages · ingested 2026-10-26