std::unordered_set<Key,Hash,KeyEqual,Allocator>::get_allocator (3) - Linux Man Pages

std::unordered_set<Key,Hash,KeyEqual,Allocator>::get_allocator: std::unordered_set<Key,Hash,KeyEqual,Allocator>::get_allocator

NAME

std::unordered_set<Key,Hash,KeyEqual,Allocator>::get_allocator - std::unordered_set<Key,Hash,KeyEqual,Allocator>::get_allocator

Synopsis


allocator_type get_allocator() const; (since C++11)


Returns the allocator associated with the container.

Parameters


(none)

Return value


The associated allocator.

Complexity


Constant.