is_nothrow_default_constructible Class
Tests whether type has a non-throwing default constructor.
Syntax
template <class Ty>
struct is_nothrow_default_constructible;
Parameters
Ty
The type to query.
Remarks
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>
.
Requirements
Header: <type_traits>
Namespace: std
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för