Copies the elements, the hash function, the key comparison, the maximum load factor and the bucket count, so the copy iterates in the same order. The keys are not hashed again: each node keeps its hash, and the copy goes bucket by bucket.
Declared in <cptr/unordered_map.hpp>
basic_unordered_map(basic_unordered_map const& other);
| Name | Description |
|---|---|
| other | The object to copy construct from |