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.

参数



返回值

The allocator.

成员类型allocator_typeis the type of the allocator used by the container, defined in match_results as an alias of its second template parameter (Alloc).

另见