std::experimental::unique_resource<R, D>::operator=
Min standard notice:
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
other: resource wrapper from which ownership will be transferred
# 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