cereal::detail::polymorphic\_serialization\_support&lt; Archive, T &gt;(3) Library Functions Manual cereal::detail::polymorphic\_serialization\_support&lt; Archive, T &gt;(3)

# [NAME](#NAME)

cereal::detail::polymorphic\_serialization\_support&lt; Archive, T &gt;

# [SYNOPSIS](#SYNOPSIS)

#include &lt;/home/build/include/cereal/details/polymorphic\_impl.hpp&gt;

## [Public Types](#Public_Types)

typedef **instantiate\_function**&lt; **instantiate** &gt; **unused**  
This typedef causes the compiler to instantiate this static function.

## [Static Public Member Functions](#Static_Public_Member_Functions)

static **CEREAL\_DLL\_EXPORT** void **instantiate** () CEREAL\_USED

# [Detailed Description](#Detailed_Description)

## [template&lt;class Archive, class T&gt;](#template_class_Archive,_class_T_)

struct cereal::detail::polymorphic\_serialization\_support&lt; Archive, T &gt;"This struct is used as the return type of instantiate\_polymorphic\_binding for specific Archive types. When the compiler looks for overloads of instantiate\_polymorphic\_binding, it will be forced to instantiate this struct during overload resolution, even though it will not be part of a valid overload

# [Member Function Documentation](#Member_Function_Documentation)

## [template&lt;class Archive, class T&gt; **CEREAL\_DLL\_EXPORT** void **cereal::detail::polymorphic\_serialization\_support**&lt; Archive, T &gt;::instantiate () \[static\]](#template_class_Archive,_class_T__)

Creates the appropriate bindings depending on whether the archive supports saving or loading

# [Author](#Author)

Generated automatically by Doxygen for cereal from the source code.

Sat Oct 10 2026 08:08:15 cereal

---

Document: cereal_detail_polymorphic_serialization_support(3) from cereal 1.3.2-r6 (Chainguard OS)
Source: https://github.com/USCiLab/cereal
