__gnu_pbds::sample_range_hashing(3cxx)

πŸ’– NAME πŸ’–

__gnu_pbds::sample_range_hashing β€” a sample range-hashing functor. That's the whole summary, bestie. This page is the __gnu_pbds::sample_range_hashing manual entry from section 3cxx, and it's giving very specific C++ library energy. πŸŽ€

✨ SYNOPSIS ✨

#include <sample_range_hashing.hpp>

πŸ¦‹ Public Types πŸ¦‹

  • typedef std::size_t size_type β€” Size type, literally. πŸ’…

πŸ‘‘ Public Member Functions πŸ‘‘

  • sample_range_hashing () β€” Default constructor. yes bestie.
  • sample_range_hashing (const sample_range_hashing &other) β€” Copy constructor. no cap.
  • void swap (sample_range_hashing &other) β€” Swaps content. periodt.

πŸ”’ Protected Member Functions πŸ”’

  • void notify_resized (size_type) β€” Tells the policy object that the container's size has changed to the argument's size. πŸ¦‹
  • size_type operator() (size_type) const β€” Takes the __hash value hash and transforms it into a ranged-hash value. πŸ”₯

🌈 Detailed Description 🌈

A sample range-hashing functor. That's it, that's the description β€” short, sweet, and fully on brand. πŸ’…

πŸ“š Member Typedef Documentation πŸ“š

🌸 typedef std::size_t __gnu_pbds::sample_range_hashing::size_type 🌸

Size type. πŸ’–

πŸ›  Constructor & Destructor Documentation πŸ› 

🧚 __gnu_pbds::sample_range_hashing::sample_range_hashing ()

Default constructor. 🫢

🧚 __gnu_pbds::sample_range_hashing::sample_range_hashing (const sample_range_hashing & other)

Copy constructor. 😭 happy tears, it's so simple.

πŸ”§ Member Function Documentation πŸ”§

πŸ”₯ void __gnu_pbds::sample_range_hashing::notify_resized (size_type)

[protected]

Tells the policy object that the container's size has changed to the argument's size. πŸ¦‹

⭐ size_type __gnu_pbds::sample_range_hashing::operator() (size_type) const

[inline], [protected]

Takes the __hash value hash and transforms it into a ranged-hash value. πŸ”₯

πŸ’œ void __gnu_pbds::sample_range_hashing::swap (sample_range_hashing & other)

[inline]

Swaps content. slay. ✨

✍️ Author ✍️

Generated automatically by Doxygen for libstdc++ from the source code. πŸ‘‘


Okay bestie, cute little sign-off time: the footer situation is libstd__gnu_pbds::sample_range_hashing(3cxx) β€” source/version energy from libstd / libstdc++, generated automatically by Doxygen from the source code. No date is listed on the page, so I'm not inventing one. Kisses, and remember: range-hashing functor says hi. πŸ’–βœ¨