std::tr2(3cxx)

🌈 std::tr2 · libstdc++ 3cxx manual 🌈

okay so bestie, this is the std::tr2 page from the libstdc++ 3cxx manual. It's giving β€œnon-standard extensions” energy, and we are keeping every single signature exactly as it appears. no cap πŸ’…


πŸ’– NAME πŸ’–

std::tr2 β€” Namespace for non-standard 'TR2' extensions.


✨ SYNOPSIS ✨

πŸ¦‹ Namespaces πŸ¦‹

  • namespace __detail β€” Implementation details not part of the namespace std::tr2 interface.

πŸŽ€ Classes πŸŽ€

  • struct __dynamic_bitset_base β€” no extra description in the original, just the struct name, bestie.
  • struct __reflection_typelist β€” no extra description in the original.
  • struct __reflection_typelist< _First, _Rest... > β€” Partial specialization.
  • struct __reflection_typelist<> β€” Specialization for an empty typelist.
  • struct bases β€” Sequence abstraction metafunctions for manipulating a typelist.
  • class bool_set β€” no extra description in the original.
  • struct direct_bases β€” Enumerate all the direct base classes of a class. Form of a typelist.
  • class dynamic_bitset β€” The dynamic_bitset class represents a sequence of bits.

πŸ¦‹ Functions πŸ¦‹

Here's the function crew. The original gives signatures for a bunch of these without descriptions, so I'm not inventing behavior β€” just keeping the signatures exact. Some do have little notes, and those are kept too. πŸ’…

  • bool certainly (bool_set __b)
  • bool contains (bool_set __s, bool_set __t)
  • bool equals (bool_set __s, bool_set __t)
  • bool is_emptyset (bool_set __b)
  • bool is_indeterminate (bool_set __b)
  • bool is_singleton (bool_set __b)
  • bool_set operator!= (bool __s, bool_set __t)
  • bool_set operator!= (bool_set __s, bool __t)
  • bool_set operator!= (bool_set __s, bool_set __t)
  • bool_set operator& (bool __s, bool_set __t)
  • bool_set operator& (bool_set __s, bool __t)
  • template<typename _CharT , typename _Traits , typename _WordT , typename _Alloc > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const dynamic_bitset< _WordT, _Alloc > &__x) β€” Stream output operator for dynamic_bitset.
  • bool_set operator== (bool __s, bool_set __t)
  • bool_set operator== (bool_set __s, bool __t)
  • template<typename _CharT , typename _Traits , typename _WordT , typename _Alloc > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, dynamic_bitset< _WordT, _Alloc > &__x) β€” Stream input operator for dynamic_bitset.
  • bool_set operator^ (bool __s, bool_set __t)
  • bool_set operator^ (bool_set __s, bool __t)
  • bool_set operator| (bool __s, bool_set __t)
  • bool_set operator| (bool_set __s, bool __t)
  • bool possibly (bool_set __b)
  • bool_set set_complement (bool_set __b)
  • bool_set set_intersection (bool __s, bool_set __t)
  • bool_set set_intersection (bool_set __s, bool __t)
  • bool_set set_intersection (bool_set __s, bool_set __t)
  • bool_set set_union (bool __s, bool_set __t)
  • bool_set set_union (bool_set __s, bool __t)
  • bool_set set_union (bool_set __s, bool_set __t)

the original also lists these next, same exact signatures:

  • template<typename _WordT , typename _Alloc > bool operator!= (const dynamic_bitset< _WordT, _Alloc > &__lhs, const dynamic_bitset< _WordT, _Alloc > &__rhs) β€” These comparisons for equality/inequality are, well, bitwise.
  • template<typename _WordT , typename _Alloc > bool operator<= (const dynamic_bitset< _WordT, _Alloc > &__lhs, const dynamic_bitset< _WordT, _Alloc > &__rhs) β€” These comparisons for equality/inequality are, well, bitwise.
  • template<typename _WordT , typename _Alloc > bool operator> (const dynamic_bitset< _WordT, _Alloc > &__lhs, const dynamic_bitset< _WordT, _Alloc > &__rhs) β€” These comparisons for equality/inequality are, well, bitwise.
  • template<typename _WordT , typename _Alloc > bool operator>= (const dynamic_bitset< _WordT, _Alloc > &__lhs, const dynamic_bitset< _WordT, _Alloc > &__rhs) β€” These comparisons for equality/inequality are, well, bitwise.
  • template<typename _WordT , typename _Alloc > dynamic_bitset< _WordT, _Alloc > operator& (const dynamic_bitset< _WordT, _Alloc > &__x, const dynamic_bitset< _WordT, _Alloc > &__y) β€” Global bitwise operations on bitsets.
  • template<typename _WordT , typename _Alloc > dynamic_bitset< _WordT, _Alloc > operator| (const dynamic_bitset< _WordT, _Alloc > &__x, const dynamic_bitset< _WordT, _Alloc > &__y) β€” Global bitwise operations on bitsets.
  • template<typename _WordT , typename _Alloc > dynamic_bitset< _WordT, _Alloc > operator^ (const dynamic_bitset< _WordT, _Alloc > &__x, const dynamic_bitset< _WordT, _Alloc > &__y) β€” Global bitwise operations on bitsets.
  • template<typename _WordT , typename _Alloc > dynamic_bitset< _WordT, _Alloc > operator- (const dynamic_bitset< _WordT, _Alloc > &__x, const dynamic_bitset< _WordT, _Alloc > &__y) β€” Global bitwise operations on bitsets.

πŸ’– Detailed Description πŸ’–

std::tr2 is the namespace for non-standard 'TR2' extensions. That's the whole detailed description, and honestly? iconic in its brevity 🫢✨


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. So don't ask me, I didn't hand-write it, bestie πŸ’€πŸ’…


signed off by libstdc++, manual page std::tr2(3cxx) β€” and the original footer doesn't list a date, so I'm not inventing one, bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from