OS Manuals

cereal_traits_strip_minimal(3)

cereal::traits::strip_minimal< T, IsCerealMinimalTrait > - Extracts the true type from something possibly wrapped in a cereal NoConvert.

cereal::traits::strip_minimal< T, IsCerealMinimalTrait >(3) Library Functions Manual cereal::traits::strip_minimal< T, IsCerealMinimalTrait >(3)

cereal::traits::strip_minimal< T, IsCerealMinimalTrait > - Extracts the true type from something possibly wrapped in a cereal NoConvert.

#include </home/build/include/cereal/details/traits.hpp>


using type = T

struct cereal::traits::strip_minimal< T, IsCerealMinimalTrait >"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

Generated automatically by Doxygen for cereal from the source code.

Sat Oct 10 2026 08:08:15 cereal

cereal 1.3.2-r6 · enterprise-packages · ingested 2026-10-10