std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::outer_allocator
Since C++11
// 1)
outer_allocator_type& outer_allocator() noexcept;
// 2)
const outer_allocator_type& outer_allocator() const noexcept;
Obtains a reference to the outer allocator used to declare this class.
- Returns
static_cast<OuterAlloc&>(*this)
. - Returns
static_cast<const OuterAlloc&>(*this)
.
Parameters
(none)
Return value
A reference to OuterAlloc.