##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::match_results::get_allocator

From cppreference.com
< cpp‎ | regex‎ | match results

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

Returns the allocator associated with the object.

### [edit] Parameters

(none)

### [edit] Return value

The associated allocator.

### [edit] Complexity

Constant.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/regex/match_results/get_allocator&oldid=63408"