hash_set(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to hash_set(3) from the Library Functions Manual πŸ’… the NAME section is literally just hash_set and a tiny dash, and honestly? iconic minimalism. no cap.


✨ SYNOPSIS ✨

here's the whole vibe check for this file, bestie β€” classes, namespaces, a define, and the full function roster, all exactly as listed. don't skip a single one, fr fr 🫢

πŸŽ€ Classes πŸŽ€

  • class __gnu_cxx::hash_multiset< _Value, _HashFcn, _EqualKey, _Alloc >
  • class __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >

πŸ¦‹ Namespaces πŸ¦‹

  • namespace __gnu_cxx
  • namespace std

πŸ“ Defines πŸ“

  • #define _HASH_SET

πŸ”₯ Functions πŸ”₯

six whole functions, bestie β€” two operator!=, two operator==, and two swap overloads. here they are with the exact signatures, no edits, no cap 😭✨

  1. __gnu_cxx::operator!= for hash_multiset:
       template<class _Val , class _HashFcn , class _EqualKey , class _Alloc >
           bool __gnu_cxx::operator!= (const hash_multiset< _Val, _HashFcn,
           _EqualKey, _Alloc > &__hs1, const hash_multiset< _Val, _HashFcn,
           _EqualKey, _Alloc > &__hs2)
  1. __gnu_cxx::operator!= for hash_set:
       template<class _Value , class _HashFcn , class _EqualKey , class _Alloc
           > bool __gnu_cxx::operator!= (const hash_set< _Value, _HashFcn,
           _EqualKey, _Alloc > &__hs1, const hash_set< _Value, _HashFcn,
           _EqualKey, _Alloc > &__hs2)
  1. __gnu_cxx::operator== for hash_multiset:
       template<class _Val , class _HashFcn , class _EqualKey , class _Alloc >
           bool __gnu_cxx::operator== (const hash_multiset< _Val, _HashFcn,
           _EqualKey, _Alloc > &__hs1, const hash_multiset< _Val, _HashFcn,
           _EqualKey, _Alloc > &__hs2)
  1. __gnu_cxx::operator== for hash_set:
       template<class _Value , class _HashFcn , class _EqualKey , class _Alloc
           > bool __gnu_cxx::operator== (const hash_set< _Value, _HashFcn,
           _EqualKey, _Alloc > &__hs1, const hash_set< _Value, _HashFcn,
           _EqualKey, _Alloc > &__hs2)
  1. __gnu_cxx::swap for hash_multiset:
       template<class _Val , class _HashFcn , class _EqualKey , class _Alloc >
           void __gnu_cxx::swap (hash_multiset< _Val, _HashFcn, _EqualKey,
           _Alloc > &__hs1, hash_multiset< _Val, _HashFcn, _EqualKey, _Alloc >
           &__hs2)
  1. __gnu_cxx::swap for hash_set:
       template<class _Val , class _HashFcn , class _EqualKey , class _Alloc >
           void __gnu_cxx::swap (hash_set< _Value, _HashFcn, _EqualKey, _Alloc >
           &__hs1, hash_set< _Value, _HashFcn, _EqualKey, _Alloc > &__hs2)

πŸ’œ Detailed Description πŸ’œ

okay so real talk, bestie: this file is a GNU extension to the Standard C++ Library (possibly containing extensions from the HP/SGI STL subset). that's the whole note, and it's giving "small but important" energy 🌸

and yep, Definition in file hash_set.


πŸ‘‘ Author πŸ‘‘

Author: Generated automatically by Doxygen for libstdc++ from the source code. slay, Doxygen really said "I'll handle it" πŸ’…βœ¨


xoxo bestie πŸ’– β€” this page is from libstdc++, dated 21 Apr 2009, and it's literally hash_set(3). periodt. πŸŽ€

πŸ“¦ where this page comes from