次の方法で共有


has_nothrow_copy_constructor Class

Tests if type doesn't throw on copy construction.

template<class Ty>
    struct has_nothrow_copy_constructor;

Parameters

  • Ty
    The type to query.

Remarks

An instance of the type predicate holds true if the type Ty has only nothrow copy constructors, otherwise it holds false.

Requirements

Header: <type_traits>

Namespace: std

See Also

Reference

<type_traits>

Other Resources

<type_traits> Members