__GNU_PBDS::SAMPLE_RANGED_HASH_FN(3)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 6 versions
, in arch rolling, fedora 44

✨ __gnu_pbds::sample_ranged_hash_fn πŸ’–

okay bestie, this is a manual page from the Library Functions Manual and it's all about __gnu_pbds::sample_ranged_hash_fn β€” no cap, it's literally just a sample ranged-hash functor. That's the whole vibe. πŸ¦‹


🌸 NAME 🌸

__gnu_pbds::sample_ranged_hash_fn β€” a sample ranged-hash functor. that's it, that's the girl. πŸ’…


✨ SYNOPSIS ✨

#include <sample_ranged_hash_fn.hpp>

πŸŽ€ Public Types πŸŽ€

  • typedef std::size_t size_type β€” it's giving "we measure things in size_t", iconic.

πŸ’– Public Member Functions πŸ’–

  • sample_ranged_hash_fn () β€” Default constructor. the standard entrance, she just shows up. ✨
  • sample_ranged_hash_fn (const sample_ranged_hash_fn &) β€” Copy constructor. twinning fr fr. πŸ‘―
  • void swap (sample_ranged_hash_fn &) β€” Swaps content. trading places, main character energy. πŸ”„

πŸ”’ Protected Member Functions πŸ”’

  • void notify_resized (size_type) β€” Notifies the policy object that the container's __size has changed to size. it's literally the "hey bestie we grew/shrunk" text. πŸ’¬
  • size_type operator() (key_const_reference) const β€” Transforms key_const_reference into a position within the table. the glow-up from key to index. ✨

πŸ’œ Detailed Description πŸ’œ

A sample ranged-hash functor.

no cap, that's genuinely all the detail the original gives. she's mysterious. iykyk. 🀫

🌈 Constructor & Destructor Documentation 🌈

⭐ __gnu_pbds::sample_ranged_hash_fn::sample_ranged_hash_fn ()

Default constructor.

Referenced by sample_ranged_hash_fn(), and swap().

⭐ __gnu_pbds::sample_ranged_hash_fn::sample_ranged_hash_fn (const sample_ranged_hash_fn & )

Copy constructor.

References sample_ranged_hash_fn().


πŸ”₯ 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.

πŸ’« 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.

πŸ’« void __gnu_pbds::sample_ranged_hash_fn::swap (sample_ranged_hash_fn & )

[inline]

Swaps content.

References sample_ranged_hash_fn().


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. not a human author, just the machines doing their thing, and honestly? slay. πŸ€–βœ¨


and that's the whole page, bestie β€” this came from libstdc++, dated __gnu_pbds...ged_hash_fn(3), generated by Doxygen and shipped with libstdc++. periodt. πŸ’…πŸ«Ά

πŸ“¦ 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