std::experimental::unique_resource<R, D>::operator=

Move assignment operator. Replaces the managed resource and the deleter with other’s.

# Declarations

unique_resource& operator=( unique_resource&& other )
noexcept(/*see below*/);

(library fundamentals TS v3)

# Parameters

# Return value

*this

# Notes

If a copy of a member throws an exception, this mechanism leaves other intact and *this in the released state.

# Example

This section is incompleteReason: no example

# See also