| helpers.hpp(3) | Library Functions Manual | helpers.hpp(3) |
NAME
helpers.hpp - Internal helper functionality.
SYNOPSIS
#include <type_traits>
#include <cstdint>
#include <utility>
#include <memory>
#include <unordered_map>
#include <stdexcept>
#include 'cereal/macros.hpp'
#include 'cereal/details/static_object.hpp'
Classes
struct cereal::Exception
An exception class thrown when things go wrong at runtime. struct
cereal::detail::NameValuePairCore
Traits struct for NVPs. struct cereal::detail::DeferredDataCore
Traits struct for DeferredData. class cereal::NameValuePair< T
>
For holding name value pairs. struct cereal::BinaryData< T >
A wrapper around data that can be serialized in a binary fashion. class
cereal::DeferredData< T >
A wrapper around data that should be serialized after all non-deferred data.
class cereal::detail::OutputArchiveBase
class cereal::detail::InputArchiveBase
class cereal::SizeTag< T >
A wrapper around size metadata. struct cereal::MapItem< Key, Value
>
A wrapper around a key and value for serializing data into maps. struct
cereal::detail::Version< T, BindingTag >
Version information class. struct cereal::detail::Versions
Holds all registered version information.
Macros
#define CEREAL_NVP_(name, value)
Convenience for creating a templated NVP.
Typedefs
using cereal::size_type = CEREAL_SIZE_TYPE
The size type used by cereal.
Functions
template<class KeyType, class ValueType> MapItem<
KeyType, ValueType > cereal::make_map_item (KeyType &&key,
ValueType &&value)
Create a MapItem so that human readable archives will group keys and
values together.
Detailed Description
Internal helper functionality.
Macro Definition Documentation
#define CEREAL_NVP_( name, value)
Value:
::cereal::make_nvp<Archive>(name, value)
Convenience for creating a templated NVP. For use in internal generic typing functions which have an Archive type declared
Typedef Documentation
using cereal::size_type = CEREAL_SIZE_TYPE
The size type used by cereal. To ensure compatability between 32, 64, etc bit machines, we need to use a fixed size type instead of size_t, which may vary from machine to machine.
The default value for CEREAL_SIZE_TYPE is specified in cereal/macros.hpp
Author
Generated automatically by Doxygen for cereal from the source code.
| Mon Oct 26 2026 20:39:03 | cereal |