is_nothrow_copy_assignable Class


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

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.

template <class T>
struct is_nothrow_copy_assignable;


The type to query.

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.

Header: <type_traits>

Namespace: std

is_nothrow_assignable Class