__GNU_PBDS::QUADRATIC_PROBE_FN(3cxx)
okay so welcome to the __gnu_pbds::qu...fn< Size_Type >(3cxx) manual page, bestie π this one is short and sweet and very niche.
π NAME π
__gnu_pbds::quadratic_probe_fn< Size_Type > β a probe sequence policy using square increments. Thatβs the whole vibe: square increments, iconic, no cap β¨
β¨ SYNOPSIS β¨
First the include, and yes itβs exactly this:
#include <hash_policy.hpp>
π Public Types π
typedef Size_Type size_typeβ the size type is literallySize_Type, periodt π
π Public Member Functions π
void swap (quadratic_probe_fn< Size_Type > &other)β swaps withother, thatβs the whole function bestie π«Ά
π Protected Member Functions π
size_type operator() (size_type i) constβ returns the i-th offset from the hash value. Protected, so itβs giving backstage access only π
πΈ Detailed Description πΈ
The template and class situation is exactly this, quote mark and all, iykyk:
template<typename Size_Type = std::size_t>
class __gnu_pbds::quadratic_probe_fn< Size_Type >"A probe sequence
policy using square increments.
So yeah: template parameter defaults to std::size_t, and the class is __gnu_pbds::quadratic_probe_fn< Size_Type >. The description is literally βA probe sequence policy using square increments.β Slay π
π§ Member Function Documentation π§
Hereβs the exact signature energy:
template<typename Size_Type = std::size_t> size_type
__gnu_pbds::quadratic_probe_fn< Size_Type >::operator() (size_type i)
const [inline], [protected]
Returns the i-th offset from the hash value. Itβs [inline] and [protected], and thatβs the whole main-character job: returns the i-th offset from the hash value π₯
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. Yes bestie, Doxygen autogenerated it for libstdc++ from the source code π
mwah π signing off from the source/version footer libstd__gnu_pbds::qu...fn< Size_Type >(3cxx); date: not shown on this page, srry π π«Ά
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms