:relfileprefix: ../../../
[#DD0406DB35FCF341EA4DFF32C37FC0C0339FC937]

= Function unique_resource::get

pass:v,q[Returns a reference to the resource object.]


== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
const xref:boost/scope/unique_resource-0c/resource_type.adoc[resource_type]&
get() const noexcept;
----

== Description

pass:v,q[**Throws:** Nothing.]



== Return Value

* `const xref:boost/scope/unique_resource-0c/resource_type.adoc[resource_type]&` 




