Template:cpp/container/constructor unord

Constructs new container from a variety of data sources. Optionally uses user supplied as a minimal number of buckets to create,  as the hash function,  as the function to compare keys and  as the allocator.

@1@ Constructs empty container. Sets max_load_factor to 1.0. For the default constructor, the number of buckets is implementation-defined. @2@ constructs the container with the contents of the range. Sets max_load_factor to 1.0. @3@ copy constructor. Constructs the container with the copy of the contents of, copies the load factor, the predicate, and the hash function as well. If is not provided, allocator is obtained by calling.

@4@ move constructor. Constructs the container with the contents of using move semantics. If is not provided, allocator is obtained by move-construction from the allocator belonging to.

@5@ constructs the container with the contents of the initializer list, same as.

Complexity
@1@ constant @2@ average case linear worst case quadratic in distance between and @3@ linear in size of @4@ constant. If is given and, then linear. @5@ average case linear worst case quadratic in size of

Exceptions
Calls to may throw.