cpp_underlying_type

CPP Underlying Type

Introduced in CPP11, CPP Underlying Type extracts the underlying integer type of an enumeration type using `std::underlying_type`. It supports type-safe casting in enum-based APIs.

CPP Underlying Type is commonly used in binary serialization, enum-based flags, and custom type mapping. It ensures reliable conversions between enums and integral types.

https://en.cppreference.com/w/cpp/types/underlying_type

cpp_underlying_type.txt · Last modified: 2025/02/01 07:05 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki