共用方式為


hash_multiset Members

Reference

Constructors

hash_multiset

Constructs a hash_multiset that is empty or that is a copy of all or part of some other hash_multiset.

Typedefs

allocator_type

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

const_iterator

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

const_pointer

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

const_reference

A type that provides a reference to a const element stored in a hash_multiset 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_multiset.

difference_type

A signed integer type that provides the difference between two iterators that address elements within the same hash_multiset.

iterator

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

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_multiset.

key_type

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

pointer

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

reference

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

reverse_iterator

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

size_type

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

value_compare

A type that provides two function objects, a binary predicate of class compare that can compare two element values of a hash_multiset to determine their relative order and a unary predicate that hashes the elements.

value_type

A type that describes an object stored as an element of a hash_multiset in its capacity as a value.

Member Functions

begin

Returns an iterator that addresses the first element in the hash_multiset.

clear

Erases all the elements of a hash_multiset.

count

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

empty

Tests if a hash_multiset is empty.

end

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

equal_range

Returns a pair of iterators respectively to the first element in a hash_multiset with a key that is greater than a specified key and to the first element in the hash_multiset with a key that is equal to or greater than the key.

erase

Removes an element or a range of elements in a hash_multiset from specified positions or removes elements that match a specified key.

find

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

get_allocator

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

insert

Inserts an element or a range of elements into a hash_multiset.

key_comp

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

lower_bound

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

max_size

Returns the maximum length of the hash_multiset.

rbegin

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

rend

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

size

Returns the number of elements in the hash_multiset.

swap

Exchanges the elements of two hash_multisets.

upper_bound

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

value_comp

Retrieves a copy of the hash traits object used to hash and order element key values in a hash_multiset.

See Also

Concepts

hash_multiset Class

Thread Safety in the Standard C++ Library

Standard Template Library