次の方法で共有


is_nothrow_copy_assignable Class

 

The latest version of this topic can be found at is_nothrow_copy_assignable Class.

Tests whether type has a copy assignment operator that is known to the compiler not to throw.

Syntax

template <class T>
struct is_nothrow_copy_assignable;

Parameters

T
The type to query.

Remarks

An instance of the type predicate holds true for a referenceable type T where is_nothrow_assignable<T&, const T&> holds true; otherwise it holds false.

Requirements

Header: <type_traits>

Namespace: std

See Also

<type_traits>
is_nothrow_assignable Class