__gnu_pbds...ge_hashing(3)
๐ __gnu_pbds::sample_range_hashing ๐
okay bestie, welcome to the Library Functions Manual โจ this one is a lil page from libstdc++, and it's all about a sample range-hashing functor named __gnu_pbds::sample_range_hashing. yes it's a mouthful. yes it's iconic. let's get into it ๐ซถ
๐ธ NAME ๐ธ
__gnu_pbds::sample_range_hashing โ a sample range-hashing functor, fr fr ๐
๐ฆ SYNOPSIS ๐ฆ
#include <sample_range_hashing.hpp>
โญ Public Types โญ
typedef std::size_t size_typeโ the size type. that's it, that's the whole vibe โจ
๐ Public Member Functions ๐
sample_range_hashing ()โ default constructor ๐ทsample_range_hashing (const sample_range_hashing &other)โ copy constructor, she copies ๐ฏvoid swap (sample_range_hashing &other)โ swaps content ๐
๐ Protected Member Functions ๐
void notify_resized (size_type)โ notifies the policy object that the container's size has changed to the argument's size ๐size_type operator() (size_type) constโ transforms the__hashvalue hash into a ranged-hash value ๐ฎ
๐ Detailed Description ๐
A sample range-hashing functor. literally just that, no cap ๐
๐ Member Typedef Documentation ๐
typedef std::size_t __gnu_pbds::sample_range_hashing::size_type
Size type. that's the tea โ
๐ง Constructor & Destructor Documentation ๐ง
__gnu_pbds::sample_range_hashing::sample_range_hashing ()
Default constructor ๐
Referenced bysample_range_hashing(), andswap().
__gnu_pbds::sample_range_hashing::sample_range_hashing (const sample_range_hashing & other)
Copy constructor ๐ฏโ๏ธ
References sample_range_hashing().
๐ Member Function Documentation ๐
void __gnu_pbds::sample_range_hashing::notify_resized (size_type )
[protected]
Notifies the policy object that the container's size has changed to argument's size ๐
size_type __gnu_pbds::sample_range_hashing::operator() (size_type ) const
[inline], [protected]
Transforms the __hash value hash into a ranged-hash value ๐ฎโจ
void __gnu_pbds::sample_range_hashing::swap (sample_range_hashing & other)
[inline]
Swaps content ๐
References sample_range_hashing().
๐ Author ๐
Generated automatically by Doxygen for libstdc++ from the source code. not me being auto-generated bestie, she's self-made but also machine-made ๐ญ
and that's the whole page!! tysm for reading, mwah ๐ซถ๐ this lil manual came from libstdc++ (that's the source + version, girlypop) and it's dated to match the __gnu_pbds...ge_hashing(3) page you were reading โ go off, range-hash queen ๐โจ๐
๐ฆ where this page comes from
- arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 ยท GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
- fedora 44: libstdc++-docs 16.0.1-0.10.fc44 ยท GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- fedora 44: libstdc++-docs 16.2.1-2.fc44
- fedora 44: libstdc++-docs 16.2.1-3.fc44 ยท GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms