Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.