public member function
<regex>

std::match_results::get_allocator

allocator_type get_allocator() const;
Get allocator
Returns the allocator used by the match_results object.

Parameters

none

Return Value

The allocator.

Member type allocator_type is the type of the allocator used by the container, defined in match_results as an alias of its second template parameter (Alloc).

See also