:relfileprefix: ../../../
[#860F9428AC811471DB8041EF7017E3571CE6D9FC]

= Function unique_resource::unique_resource



== Synopsis

Declared in header `<https://github.com/Lastique/scope/blob/develop/include/boost/scope/unique_resource.hpp#L1251[boost/scope/unique_resource.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
template<
    bool Requires = std::is_move_constructible<data>::value,
    typename = enable_if<Requires>::type>
unique_resource(xref:boost/scope/unique_resource-0c.adoc[unique_resource]&& that) noexcept(std::is_nothrow_move_constructible<data>::value);
----

