__GNU_PBDS::LINEAR_PROBE_FN(3cxx)
π NAME π
Okay bestie, this is the __gnu_pbds::lin...fn< Size_Type >(3cxx) page β that 3cxx is the manual name, and the class in question is __gnu_pbds::linear_probe_fn< Size_Type >. Itβs a probe sequence policy using fixed increments. No cap. π¦
β¨ SYNOPSIS β¨
First things first, you include this:
#include <hash_policy.hpp>
π Public Types π
size_typeβ this is just a typedef forSize_Type, and the page spells it out exactly like this:
typedef Size_Type size_type
π«Ά Public Member Functions π«Ά
swapβ the one public member function has this exact signature:
void swap (linear_probe_fn< Size_Type > &other)
Thatβs it, bestie β other is right there by reference. π
π§ Protected Member Functions π§
operator()β this protected member function has this exact signature:
size_type operator() (size_type i) const
Returns the i-th offset from the hash value. Thatβs the whole vibe check. β¨
πΈ Detailed Description πΈ
Hereβs the class template in all its glory:
template<typename Size_Type = std::size_t>
class __gnu_pbds::linear_probe_fn< Size_Type >
And the description is literally: βA probe sequence policy using fixed increments.β Sheβs simple, sheβs iconic, sheβs giving main character energy. π
π Member Function Documentation π
Hereβs the full documented operator, exact code energy:
template<typename Size_Type = std::size_t> size_type
__gnu_pbds::linear_probe_fn< Size_Type >::operator() (size_type i) const
Itβs tagged [inline], [protected], and its description is Returns the i-th offset from the hash value. π«Ά
π Author π
No cap, this is the author line verbatim:
Generated automatically by Doxygen for libstdc++ from the source code.
π Thatβs the whole page, bestie! Source/version vibes: itβs from libstdc++, and the footer has the 3cxx label but no date listed, so Iβm not inventing one. Periodt. π
π¦ 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