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::direct_mask_range_hashing.3cxx

Author

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

                                                    libst__gnu_pbds::direct_mask...ge_hashing<Size_Type>(3cxx)

Detailed Description

template<typenameSize_Type=std::size_t>
       class __gnu_pbds::direct_mask_range_hashing< Size_Type >"A mask range-hashing class (uses a bitmask).

Member Function Documentation

template<typenameSize_Type=std::size_t>size_type__gnu_pbds::direct_mask_range_hashing<Size_Type>::operator()(size_typehash)const[inline],[protected]
       Transforms the __hash value hash into a ranged-hash value (using a bit-mask).

Name

       __gnu_pbds::direct_mask_range_hashing< Size_Type > - A mask range-hashing class (uses a bitmask).

Synopsis

       #include <hash_policy.hpp>

       Inherits __gnu_pbds::detail::mask_based_range_hashing<Size_Type>.

   PublicTypes
       typedef Size_Type size_typePublicMemberFunctions
       void swap (direct_mask_range_hashing< Size_Type > &other)

   ProtectedMemberFunctions
       void notify_resized (size_type size)
       size_type operator() (size_type hash) const
           Transforms the __hash value hash into a ranged-hash value (using a bit-mask).
       size_type range_hash (size_type hash) const
       void swap (mask_based_range_hashing &other)

See Also