std::tr2(3)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 5 versions
, in arch rolling, centos-stream 10, fedora 43, fedora 44

πŸ’– std::tr2(3) πŸ’–

okay so bestie, you've landed in the Library Functions Manual and this page is all about std::tr2 β€” genuinely one of those namespaces that's giving "we tried something in 2005 and it's still hanging around" energy. no cap, everything below is the real deal, so grab a strawberry πŸ“ and let's go.


✨ NAME ✨

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

literally what it says on the tin, queen. it's the namespace, and it's for the non-standard "TR2" extensions. periodt. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

🌸 Namespaces 🌸

  • namespace __detail β€” Implementation details not part of the namespace std::tr2 interface.
bestie do NOT touch __detail, it's the behind-the-scenes crew. not part of the interface, iykyk πŸ™ˆ

πŸ‘‘ Classes πŸ‘‘

  • struct __dynamic_bitset_base
  • struct __reflection_typelist
  • 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
  • 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 πŸ’œ

okay this is the long part, stay with me, we're doing all of them, no skipping, that's the rules 🌈

  • 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)

and then there's this whole lil clique of dynamic_bitset besties, lowkey the main characters of the whole page 🧚:

  • 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.
notice how the equality/inequality crew says "well, bitwise" β€” that's the whole vibe. it's giving "we know, bestie, we know" πŸ’€

πŸŽ€ Detailed Description πŸŽ€

Namespace for non-standard "TR2" extensions.

that's it. that's the whole description. iconic brevity, honestly πŸ‘‘


🌟 Author 🌟

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


and that's the page, bestie!! 🫢 this whole thing was brought to you by libstdc++, living in section std::tr2(3) of your friendly neighbourhood manual β€” generated by Doxygen, shipped with love, read by you at 2am. slay, drink some water, and remember: don't touch __detail. πŸ’–βœ¨πŸŽ€

πŸ“¦ 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
  • centos-stream 10: gcc-toolset-15-libstdc++-docs 15.2.1-8.1.el10 Β· 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
  • centos-stream 10: gcc-toolset-16-libstdc++-docs 16.2.1-1.3.el10 Β· 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
  • centos-stream 10: libstdc++-docs 14.4.1-4.el10 Β· 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 43: libstdc++-docs 15.2.1-2.fc43 Β· 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 43: libstdc++-docs 15.3.1-1.fc43 Β· 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.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