is_nothrow_destructible Class

Visual Studio 2015
 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at is_nothrow_destructible Class.

Tests whether the type is destructible and the destructor is known to the compiler not to throw.

template <class T>  
struct is_nothrow_destructible;

Parameters

T
The type to query.

An instance of the type predicate holds true if the type T is a destructible type, and the destructor is known to the compiler not to throw. Otherwise, it holds false.

Header: <type_traits>

Namespace: std

<type_traits>

Show: