logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

__gnu_pbds::sample_range_hashing.3cxx

Author

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

                                                    libstdc++             __gnu_pbds::sample_range_hashing(3cxx)

Constructor & Destructor Documentation

__gnu_pbds::sample_range_hashing::sample_range_hashing()
       Default constructor.

   __gnu_pbds::sample_range_hashing::sample_range_hashing(constsample_range_hashing&other)
       Copy constructor.

Detailed Description

       A sample range-hashing functor.

Member Function Documentation

void__gnu_pbds::sample_range_hashing::notify_resized(size_type)[protected]
       Notifies the policy object that the container's size has changed to argument's size.

   size_type__gnu_pbds::sample_range_hashing::operator()(size_type)const[inline],[protected]
       Transforms the __hash value hash into a ranged-hash value.

   void__gnu_pbds::sample_range_hashing::swap(sample_range_hashing&other)[inline]
       Swaps content.

Member Typedef Documentation

typedefstd::size_t__gnu_pbds::sample_range_hashing::size_type
       Size type.

Name

       __gnu_pbds::sample_range_hashing - A sample range-hashing functor.

Synopsis

       #include <sample_range_hashing.hpp>

   PublicTypes
       typedef std::size_t size_type
           Size type.

   PublicMemberFunctionssample_range_hashing ()
           Default constructor.
       sample_range_hashing (const sample_range_hashing &other)
           Copy constructor.
       void swap (sample_range_hashing &other)
           Swaps content.

   ProtectedMemberFunctions
       void notify_resized (size_type)
           Notifies the policy object that the container's size has changed to argument's size.
       size_typeoperator() (size_type) const
           Transforms the __hash value hash into a ranged-hash value.

See Also