cereal::traits::strip\_minimal&lt; T, IsCerealMinimalTrait &gt;(3) Library Functions Manual cereal::traits::strip\_minimal&lt; T, IsCerealMinimalTrait &gt;(3)

# [NAME](#NAME)

cereal::traits::strip\_minimal&lt; T, IsCerealMinimalTrait &gt; - Extracts the true type from something possibly wrapped in a cereal NoConvert.

# [SYNOPSIS](#SYNOPSIS)

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

## [Public Types](#Public_Types)

using **type** = T

# [Detailed Description](#Detailed_Description)

## [template&lt;class T, bool IsCerealMinimalTrait = std::is\_base\_of&lt;detail::NoConvertBase, T&gt;::value&gt;](#template_class_T,_bool_IsCerealMinimalTrait_=_std::is_base_of_detail::NoConvertBase,_T_::value_)

struct cereal::traits::strip\_minimal&lt; T, IsCerealMinimalTrait &gt;"Extracts the true type from something possibly wrapped in a cereal NoConvert.

Internally cereal uses some wrapper classes to test the validity of non-member minimal load and save functions. This can interfere with user type traits on templated load and save minimal functions. To get to the correct underlying type, users should use **strip\_minimal** when performing any enable\_if type type trait checks.

See the enum serialization in **types/common.hpp** for an example of using this

# [Author](#Author)

Generated automatically by Doxygen for cereal from the source code.

Sat Oct 10 2026 08:08:15 cereal

---

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