# Observers

## get_allocator

>     allocator_type get_allocator() const;

> Returns: a copy of the allocator associated with `*this`.

## key_comp

>     key_compare key_comp() const;

> Returns: a copy of the key comparison functor associated with `*this`.

## value_comp

>     value_compare value_comp() const;

> Returns: an object of the `value_compare` class that is used to compare `value_type` objects.