Compartir a través de


hash_multimap Members

Reference

Constructors

hash_multimap

Constructs a list of a specific size or with elements of a specific value or with a specific allocator or as a copy of some other hash_multimap.

Typedefs

allocator_type

A type that represents the allocator class for the hash_multimap object.

const_iterator

A type that provides a bidirectional iterator that can read a const element in the hash_multimap.

const_pointer

A type that provides a pointer to a const element in a hash_multimap.

const_reference

A type that provides a reference to a const element stored in a hash_multimap for reading and performing const operations.

const_reverse_iterator

A type that provides a bidirectional iterator that can read any const element in the hash_multimap.

difference_type

A signed integer type that can be used to represent the number of elements of a hash_multimap in a range between elements pointed to by iterators.

iterator

A type that provides a bidirectional iterator that can read or modify any element in a hash_multimap.

key_compare

A type that provides a function object that can compare two sort keys to determine the relative order of two elements in the hash_multimap.

key_type

A type that describes the sort key object that constitutes each element of the hash_multimap.

mapped_type

A type that represents the data type stored in a hash_multimap.

pointer

A type that provides a pointer to an element in a hash_multimap.

reference

A type that provides a reference to an element stored in a hash_multimap.

reverse_iterator

A type that provides a bidirectional iterator that can read or modify an element in a reversed hash_multimap.

size_type

An unsigned integer type that can represent the number of elements in a hash_multimap.

value_type

A type that provides a function object that can compare two elements as sort keys to determine their relative order in the hash_multimap.

Member Functions

begin

Returns an iterator addressing the first element in the hash_multimap.

clear

Erases all the elements of a hash_multimap.

count

Returns the number of elements in a hash_multimap whose key matches a parameter-specified key.

empty

Tests if a hash_multimap is empty.

end

Returns an iterator that addresses the location succeeding the last element in a hash_multimap.

equal_range

Returns an iterator that addresses the location succeeding the last element in a hash_multimap.

erase

Removes an element or a range of elements in a hash_multimap from specified positions

find

Returns an iterator addressing the location of an element in a hash_multimap that has a key equivalent to a specified key.

get_allocator

Returns a copy of the allocator object used to construct the hash_multimap.

insert

Inserts an element or a range of elements into the hash_multimap at a specified position.

key_comp

Retrieves a copy of the comparison object used to order keys in a hash_multimap.

lower_bound

Returns an iterator to the first element in a hash_multimap that with a key value that is equal to or greater than that of a specified key.

max_size

Returns the maximum length of the hash_multimap.

rbegin

Returns an iterator addressing the first element in a reversed hash_multimap.

rend

Returns an iterator that addresses the location succeeding the last element in a reversed hash_multimap.

size

Specifies a new size for a hash_multimap.

swap

Exchanges the elements of two hash_multimaps.

upper_bound

Returns an iterator to the first element in a hash_multimap that with a key value that is greater than that of a specified key.

value_comp

Retrieves a copy of the comparison object used to order element values in a hash_multimap.

See Also

Concepts

hash_multimap Class

Thread Safety in the Standard C++ Library

Standard Template Library