This documentation is archived and is not being maintained.

has_nothrow_default_constructor Class

Tests if type doesn't throw on default construction.

template<class Ty>
    struct has_nothrow_default_constructor;


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.

Header: <type_traits>

Namespace: std