หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Tests whether the type is destructible.
Syntax
template <class T>
struct is_destructible;
Parameters
T
The type to query.
Remarks
An instance of the type predicate holds true if the type T is a destructible type, otherwise it holds false. Destructible types are reference types, object types, and types where for some type U equal to remove_all_extents_t<T> the unevaluated operand std::declval<U&>.~U() is well-formed. Other types, including incomplete types, void, and function types, are not destructible types.
Requirements
Header: <type_traits>
Namespace: std