Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::unorde...iset::bucket(3) C++ Standard Libarystd::unorde...iset::bucket(3)

NAME
       std::unordered_multiset::bucket - std::unordered_multiset::bucket

Synopsis
	  size_type bucket( const Key& key ) const;  (since C++11)

	  Returns  the index of	the bucket for key key.	Elements (if any) with
       keys equivalent
	  to key are always found in this bucket. The returned value is	 valid
       only for
	  instances of the container for which bucket_count() returns the same
       value.

	  The behavior is undefined if bucket_count() is zero.

Parameters
	  key -	the value of the key to	examine

Return value
	  Bucket index for the key key.

Complexity
	  Constant.

See also
	  bucket_size returns the number of elements in	specific bucket
	  (C++11)     (public member function)

http://cppreference.com		  2022.07.31	 std::unorde...iset::bucket(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::unordered_multiset::bucket&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help