:relfileprefix: ../../../
[#6D3308A13A1C596D147B2BD24D9C0994B676ED52]

= Function unique_resource::allocated

pass:v,q[Returns] `true` pass:v,q[if the resource is allocated and to be reclaimed by the deleter, otherwise]
`false.`


== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
bool
allocated() const noexcept;
----

== Description

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



== Return Value

* `bool` 




