__gnu_pbds::sample_ranged_hash_fn(3cxx)
π NAME π
__gnu_pbds::sample_ranged_hash_fn β a sample ranged-hash functor, bestie. That's the whole name-and-description combo. This is the 3cxx manual page for it, and we're keeping the __gnu_pbds namespace energy exactly where it belongs.
β¨ SYNOPSIS β¨
#include <sample_ranged_hash_fn.hpp>
π Public Types π
typedef std::size_t size_typeβ the size type, and it's literallystd::size_t. No cap.
πΈ Public Member Functions πΈ
sample_ranged_hash_fn()β default constructor. It's giving "I exist with zero extra drama."sample_ranged_hash_fn(const sample_ranged_hash_fn &)β copy constructor. Copying the whole vibe, iconic.void swap(sample_ranged_hash_fn &)β swaps content. Trade places, bestie.
π¦ Protected Member Functions π¦
void notify_resized(size_type)β notifies the policy object that the container's__sizehas changed tosize. Yes, that's the actual little message it sends.size_type operator()(key_const_reference) constβ transformskey_const_referenceinto a position within the table. That's the whole glow-up: key reference in, table position out.
π Detailed Description π
A sample ranged-hash functor. That's it, that's the description β short, sweet, and main character energy. π
π§ Constructor & Destructor Documentation π§
__gnu_pbds::sample_ranged_hash_fn::sample_ranged_hash_fn()
Default constructor. Basic, but necessary. π
__gnu_pbds::sample_ranged_hash_fn::sample_ranged_hash_fn(const sample_ranged_hash_fn &)
Copy constructor. It copies, periodt.
π₯ Member Function Documentation π₯
void __gnu_pbds::sample_ranged_hash_fn::notify_resized(size_type)
[protected]
Notifies the policy object that the container's __size has changed to size. That's the tea. π«
size_type __gnu_pbds::sample_ranged_hash_fn::operator()(key_const_reference) const
[inline], [protected]
Transforms key_const_reference into a position within the table. Obsessed with a function that knows its assignment. β¨
void __gnu_pbds::sample_ranged_hash_fn::swap(sample_ranged_hash_fn &)
[inline]
Swaps content. Simple, clean, no notes. π«Ά
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
Okay, wrap it up bestie: this was the libstdc++ source-code-generated page, the footer string is libst__gnu_pbds::sample_ranged_hash_fn(3cxx), and there's no date printed on this one β so I'm not inventing one, fr fr. πΈβ¨π
π¦ 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