cptr::detail::basic_unordered_map::basic_unordered_map

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.

Synopsis

Declared in <cptr/unordered_map.hpp>

basic_unordered_map(basic_unordered_map const& other);

Parameters

NameDescription
otherThe object to copy construct from