cereal::traits::get\_shared\_from\_this\_base&lt; T &gt;(3) Library Functions Manual cereal::traits::get\_shared\_from\_this\_base&lt; T &gt;(3)

# [NAME](#NAME)

cereal::traits::get\_shared\_from\_this\_base&lt; T &gt; - Get the type of the base class of T which inherited from std::enable\_shared\_from\_this.

# [SYNOPSIS](#SYNOPSIS)

#include &lt;/home/build/include/cereal/details/traits.hpp&gt;

## [Public Types](#Public_Types)

using **type** = typename std::decay&lt;typename PtrType::element\_type&gt;::type  
The type of the base of T that inherited from std::enable\_shared\_from\_this.

# [Detailed Description](#Detailed_Description)

## [template&lt;class T&gt;](#template_class_T_)

struct cereal::traits::get\_shared\_from\_this\_base&lt; T &gt;"Get the type of the base class of T which inherited from std::enable\_shared\_from\_this.

# [Author](#Author)

Generated automatically by Doxygen for cereal from the source code.

Mon Oct 26 2026 20:39:03 cereal

---

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