:relfileprefix: ../../../
[#C78CB675CCEE6578EFDEB0D69E45D6F853DDAE29-operator=]

= Overload set unique_resource::operator=

== Members




[source,cpp,subs="verbatim,macros,-callouts"]
----
xref:boost/scope/unique_resource-0c.adoc[unique_resource]&
operator=(const xref:boost/scope/unique_resource-0c.adoc[unique_resource]&) = delete;
  xref:boost/scope/unique_resource-0c/operator_assign-08.adoc[pass:c,q,m[*_» more..._*]]
----




[source,cpp,subs="verbatim,macros,-callouts"]
----
template<bool Requires = std::is_move_assignable<data>::value>
enable_if<Requires, xref:boost/scope/unique_resource-0c.adoc[unique_resource]&>::type
operator=(xref:boost/scope/unique_resource-0c.adoc[unique_resource]&& that) noexcept(std::is_nothrow_move_assignable<data>::value);
  xref:boost/scope/unique_resource-0c/operator_assign-0d.adoc[pass:c,q,m[*_» more..._*]]
----

