Unix/Linux Go Back    

CentOS 7.0 - man page for __gnu_pbds::hash_prime_size_policy (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

__gnu_pbds::hash_prime_size_policy(3)			    __gnu_pbds::hash_prime_size_policy(3)

       __gnu_pbds::hash_prime_size_policy -

   Public Types
       typedef std::size_t size_type

   Public Member Functions
       hash_prime_size_policy (size_type start_size=8)
       void swap (hash_prime_size_policy &other)

   Protected Member Functions
       size_type get_nearest_larger_size (size_type size) const
       size_type get_nearest_smaller_size (size_type size) const

Detailed Description
       A size policy whose sequence of sizes form a nearly-exponential sequence of primes.

       Definition at line 450 of file hash_policy.hpp.

Member Typedef Documentation
   typedef std::size_t __gnu_pbds::hash_prime_size_policy::size_type
       Size type.

       Definition at line 454 of file hash_policy.hpp.

Constructor &; Destructor Documentation
   __gnu_pbds::hash_prime_size_policy::hash_prime_size_policy (size_typestart_size = 8) [inline]
       Default constructor, or onstructor taking a start_size The policy will use the sequence of
       sizes approximately start_size, start_size* 2, start_size* 2^2, ...

       Definition at line 127 of file hash_policy.hpp.

       Generated automatically by Doxygen for libstdc++ from the source code.

libstdc++				 Tue Jun 10 2014    __gnu_pbds::hash_prime_size_policy(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 05:36 AM.