has_nothrow_default_constructor Class
Collapse the table of content
Expand the table of content

has_nothrow_default_constructor Class

Tests if type doesn't throw on default construction.

template<class Ty>
    struct has_nothrow_default_constructor;

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.

Header: <type_traits>

Namespace: std

Community Additions

ADD
Show:
© 2016 Microsoft