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