underlying_type Class
Produces the underlying integral type for an enumeration type.
Syntax
template <class T>
struct underlying_type;
Parameters
T
The type to modify.
Remarks
The type
member typedef of the class template names the underlying integral type of T, when T is an enumeration type, otherwise there is no member typedef type
.
Requirements
Header: <type_traits>
Namespace: std
See also
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ