is_trivial Class
Tests whether the type is a trivial type.
Syntax
template <class T>
struct is_trivial;
Parameters
T
The type to query.
Remarks
An instance of the type predicate holds true if the type T is a trivial type, otherwise it holds false. Trivial types are scalar types, trivially copyable class types, arrays of these types and cv-qualified versions of these types.
Requirements
Header: <type_traits>
Namespace: std
See also
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ