OS Manuals

cereal_detail_OutputBindingMap(3)

cereal::detail::OutputBindingMap< Archive > - A structure holding a map from type_indices to output serializer functions.

cereal::detail::OutputBindingMap< Archive >(3) Library Functions Manual cereal::detail::OutputBindingMap< Archive >(3)

cereal::detail::OutputBindingMap< Archive > - A structure holding a map from type_indices to output serializer functions.

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


struct Serializers
Struct containing the serializer functions for all pointer types.


typedef std::function< void(void *, void const *, std::type_info const &)> Serializer
A serializer function.


std::map< std::type_index, Serializers > map
A map of serializers for pointers of all registered types.

struct cereal::detail::OutputBindingMap< Archive >"A structure holding a map from type_indices to output serializer functions.

A static object of this map should be created for each registered archive type, containing entries for every registered type that describe how to properly cast the type to its real type in polymorphic scenarios for shared_ptr, weak_ptr, and unique_ptr.

A serializer function. Serializer functions return nothing and take an archive as their first parameter (will be cast properly inside the function, a pointer to actual data (contents of smart_ptr's get() function) as their second parameter, and the type info of the owning smart_ptr as their final parameter

Generated automatically by Doxygen for cereal from the source code.

Sat Aug 29 2026 00:42:30 cereal

cereal 1.3.2-r5 · enterprise-packages · ingested 2026-10-02