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

Author

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

                                                    libstdc++  __gnu_pbds::quadratic_probe_fn<Size_Type>(3cxx)

Detailed Description

template<typenameSize_Type=std::size_t>
       class __gnu_pbds::quadratic_probe_fn< Size_Type >"A probe sequence policy using square increments.

Member Function Documentation

template<typenameSize_Type=std::size_t>size_type__gnu_pbds::quadratic_probe_fn<Size_Type>::operator()(size_typei)const[inline],[protected]
       Returns the i-th offset from the hash value.

Name

       __gnu_pbds::quadratic_probe_fn< Size_Type > - A probe sequence policy using square increments.

Synopsis

       #include <hash_policy.hpp>

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

   ProtectedMemberFunctions
       size_type operator() (size_type i) const
           Returns the i-th offset from the hash value.

See Also