Returns true if the resource is allocated and to be reclaimed by the deleter, otherwise false.

Synopsis

Declared in header <boost/scope/unique_resource.hpp>

bool
allocated() const noexcept;

Description

Throws: Nothing.

Return Value

  • bool