mrdocs::EnumSymbol::UnderlyingType

The underlying type of this enum, if explicitly specified.

Synopsis

Optional<Polymorphic<Type>> UnderlyingType = std::nullopt;

Description

If not specified, the underlying type is an implementation‐defined integral type that can represent all the enumerator values defined in the enumeration.

For enum Foo : short { ... }; this will be represent short.

Created with MrDocs