Unix/Linux Go Back    


CentOS 7.0 - man page for __gnu_pbds::hash_exponential_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_exponential_size_policy<__gnu_pbds::hash_exponential_size_policy< Size_Type >(3)

NAME
       __gnu_pbds::hash_exponential_size_policy< Size_Type > -

SYNOPSIS
   Public Types
       typedef Size_Type size_type

   Public Member Functions
       hash_exponential_size_policy (size_type start_size=8, size_type grow_factor=2)
       void swap (hash_exponential_size_policy< Size_Type > &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
   template<typename Size_Type = std::size_t>class __gnu_pbds::hash_exponential_size_policy<
       Size_Type >
       A size policy whose sequence of sizes form an exponential sequence (typically powers of 2.

       Definition at line 413 of file hash_policy.hpp.

Constructor &; Destructor Documentation
   template<typename Size_Type > __gnu_pbds::hash_exponential_size_policy< Size_Type
       >::hash_exponential_size_policy (size_typestart_size = 8, size_typegrow_factor = 2)
       Default constructor, or onstructor taking a start_size, or constructor taking a start size
       and grow_factor. The policy will use the sequence of sizes start_size, start_size*
       grow_factor, start_size* grow_factor^2, ...

       Definition at line 44 of file hash_policy.hpp.

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

libstdc++				 __gnu_pbds::hash_exponential_size_policy< Size_Type >(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 08:37 AM.