Namespaces
Variants
Views
Actions

std::multimap<Key,T,Compare,Allocator>::get_allocator

From cppreference.com
< cpp‎ | container‎ | multimap
Revision as of 23:59, 3 November 2023 by Andreas Krug (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
allocator_type get_allocator() const;
(noexcept since C++11)

Returns the allocator associated with the container.

[edit] Parameters

(none)

[edit] Return value

The associated allocator.

[edit] Complexity

Constant.