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 namespacestd::tr2interface.
π 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 fordynamic_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 fordynamic_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
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms