is_standard_layout Class
Tests if type is a standard layout.
Syntax
template <class Ty>
struct is_standard_layout;
Parameters
Ty
The type to query
Remarks
An instance of this type predicate holds true if the type Ty is a class that has a standard layout of member objects in memory, otherwise it holds false.
Requirements
Header: <type_traits>
Namespace: std
See also
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ