Rehashes the map so it can hold at least n elements without rehashing.

Synopsis

Declared in <absl/container/linked_hash_map.h>

void
rehash(size_t n);

Parameters

Name

Description

n

The minimum number of buckets to allocate.

Created with MrDocs