Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
has_nothrow_default_constructor Class

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

© 2015 Microsoft