A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../memory/scoped_allocator_adaptor/inner_allocator.html below:

std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::inner_allocator - cppreference.com

inner_allocator_type& inner_allocator() noexcept;

(1) (since C++11)

const inner_allocator_type& inner_allocator() const noexcept;

(2) (since C++11)

Obtains a reference to the inner allocator used to declare this scoped_allocator_adaptor.

If sizeof...(InnerAllocs) == 0, that is, no inner allocators were declared, returns *this. Otherwise returns a reference to std::scoped_allocator_adaptor<InnerAllocs...>, that is, a scoped allocator composed of all inner allocators of *this, with the first inner allocator becoming the outer allocator.

[edit] Parameters

(none)

[edit] Return value

A reference to the inner allocator, which is itself a std::scoped_allocator_adaptor.

[edit] See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4