is_nothrow_default_constructible Class

 

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_default_constructible Class.

Tests whether type has a non-throwing default constructor.

template <class Ty>
struct is_nothrow_default_constructible;

Parameters

Ty
The type to query.

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>.

Header: <type_traits>

Namespace: std

<type_traits>

Show: