cereal::traits::detail::base\_class\_id(3) Library Functions Manual cereal::traits::detail::base\_class\_id(3)

# [NAME](#NAME)

cereal::traits::detail::base\_class\_id

# [SYNOPSIS](#SYNOPSIS)

## [Public Member Functions](#Public_Member_Functions)

template&lt;class T&gt; **base\_class\_id** (T const \*const t)  
bool **operator==** (base\_class\_id const &other) const

## [Public Attributes](#Public_Attributes)

std::type\_index **type**  
void const * **ptr**  
size\_t **hash**

# [Author](#Author)

Generated automatically by Doxygen for cereal from the source code.

Sat Aug 29 2026 00:42:30 cereal

---

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