Класс is_nothrow_default_constructibleis_nothrow_default_constructible Class
Проверяет, есть ли у типа невызывающий конструктор по умолчанию.Tests whether type has a non-throwing default constructor.
СинтаксисSyntax
template <class Ty>
struct is_nothrow_default_constructible;
ПараметрыParameters
TyTy
Запрашиваемый тип.The type to query.
КомментарииRemarks
Экземпляр предиката типа содержит значение true, если тип Ty имеет конструктор по умолчанию, в противном случае — значение false.An instance of the type predicate holds true if the type Ty has a nothrow default constructor, otherwise it holds false. Экземпляр предиката типа эквивалентен is_nothrow_constructible<Ty>
.An instance of the type predicate is equivalent to is_nothrow_constructible<Ty>
.
ТребованияRequirements
Заголовок:<type_traits>Header: <type_traits>
Пространство имен: stdNamespace: std