| cereal::traits::strip_minimal< T, IsCerealMinimalTrait >(3) | Library Functions Manual | cereal::traits::strip_minimal< T, IsCerealMinimalTrait >(3) |
NAME
cereal::traits::strip_minimal< T, IsCerealMinimalTrait > - Extracts the true type from something possibly wrapped in a cereal NoConvert.
SYNOPSIS
#include </home/build/include/cereal/details/traits.hpp>
Public Types
using type = T
Detailed Description
template<class T, bool IsCerealMinimalTrait = std::is_base_of<detail::NoConvertBase, T>::value>
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
Author
Generated automatically by Doxygen for cereal from the source code.
| Sat Oct 10 2026 08:08:15 | cereal |