Share via


is_nothrow_default_constructible-Klasse

Testet, ob der Typ einen nicht auslösenden Standardkonstruktor aufweist.

Syntax

template <class Ty>
struct is_nothrow_default_constructible;

Parameter

Ty
Der abzufragende Typ.

Hinweise

Eine Instanz des Typprädikats enthält "true", wenn der Typ "Ty " über einen Standardkonstruktor "Nothrow" verfügt, andernfalls "false". Eine Instanz des Typprädikats entspricht is_nothrow_constructible<Ty>.

Anforderungen

Header:<type_traits>

Namespace: std

Siehe auch

<type_traits>