is_trivially_destructible Class
Tests whether the type is trivially destructible.
Syntax
template <class T>
struct is_trivially_destructible;
Parameters
T
The type to query.
Remarks
An instance of the type predicate holds true if the type T is a destructible type, and the destructor is known to the compiler to use no non-trivial operations. Otherwise, it holds false.
Requirements
Header: <type_traits>
Namespace: std
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for