OS Manuals

cereal_detail_RegisterPolymorphicCaster(3)

cereal::detail::RegisterPolymorphicCaster< Base, Derived > - Registers a polymorphic casting relation between a Base and Derived type.

cereal::detail::RegisterPolymorphicCaster< Base, Derived >(3) Library Functions Manual cereal::detail::RegisterPolymorphicCaster< Base, Derived >(3)

cereal::detail::RegisterPolymorphicCaster< Base, Derived > - Registers a polymorphic casting relation between a Base and Derived type.

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


static PolymorphicCaster const * bind (std::true_type)
static PolymorphicCaster const * bind (std::false_type)
static PolymorphicCaster const * bind ()
Performs registration (binding) between Base and Derived.

struct cereal::detail::RegisterPolymorphicCaster< Base, Derived >"Registers a polymorphic casting relation between a Base and Derived type.

Forward declaration, see polymorphic_impl.hpp for more information.

Registering a relation allows cereal to properly cast between the two types given runtime type information and void pointers.

Registration happens automatically via cereal::base_class and cereal::virtual_base_class instantiations. For cases where neither is called, see the CEREAL_REGISTER_POLYMORPHIC_RELATION macro

Performs registration (binding) between Base and Derived. If the type is not polymorphic, nothing will happen

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