.TH "cereal::common_detail::is_enum< T >" 3 "Mon Oct 26 2026 20:39:03" "cereal" \" -*- nroff -*- .ad l .nh .SH NAME cereal::common_detail::is_enum< T > \- Checks if a type is an enum\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .SS "Public Types" .in +1c .ti -1c .RI "using \fBtype\fP = StrippedT" .br .ti -1c .RI "using \fBbase_type\fP = typename enum_underlying_type::type" .br .in -1c .SS "Static Public Attributes" .in +1c .ti -1c .RI "static const bool \fBvalue\fP = std::is_enum::value" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class cereal::common_detail::is_enum< T >"Checks if a type is an enum\&. This is needed over simply calling std::is_enum because the type traits checking at compile time will attempt to call something like load_minimal with a special NoConvertRef struct that wraps up the true type\&. .PP This will strip away any of that and also expose the true underlying type\&. .SH "Author" .PP Generated automatically by Doxygen for cereal from the source code\&.