.TH "cereal::detail::RegisterPolymorphicCaster< Base, Derived >" 3 "Mon Oct 26 2026 02:55:37" "cereal" \" -*- nroff -*- .ad l .nh .SH NAME cereal::detail::RegisterPolymorphicCaster< Base, Derived > \- Registers a polymorphic casting relation between a Base and Derived type\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static \fBPolymorphicCaster\fP const * \fBbind\fP (std::true_type)" .br .ti -1c .RI "static \fBPolymorphicCaster\fP const * \fBbind\fP (std::false_type)" .br .ti -1c .RI "static \fBPolymorphicCaster\fP const * \fBbind\fP ()" .br .RI "Performs registration (binding) between Base and Derived\&. " .in -1c .SH "Detailed Description" .PP .SS "template .br struct cereal::detail::RegisterPolymorphicCaster< Base, Derived >"Registers a polymorphic casting relation between a Base and Derived type\&. Forward declaration, see \fBpolymorphic_impl\&.hpp\fP for more information\&. .PP Registering a relation allows cereal to properly cast between the two types given runtime type information and void pointers\&. .PP Registration happens automatically via \fBcereal::base_class\fP and \fBcereal::virtual_base_class\fP instantiations\&. For cases where neither is called, see the CEREAL_REGISTER_POLYMORPHIC_RELATION macro .SH "Member Function Documentation" .PP .SS "template \fBPolymorphicCaster\fP const * \fBcereal::detail::RegisterPolymorphicCaster\fP< Base, Derived >::bind ()\fR [inline]\fP, \fR [static]\fP" .PP Performs registration (binding) between Base and Derived\&. If the type is not polymorphic, nothing will happen .SH "Author" .PP Generated automatically by Doxygen for cereal from the source code\&.