STD::__DETAIL::_BRACKETMATCHER(3cxx)

πŸ’… NAME πŸ’…

std::__detail::_BracketMatcher< _TraitsT, __icase, __collate > β€” okay bestie, this page is from the 3cxx manual, and the whole vibe is: Matches a character range (bracket expression). That's the name section, and no cap it's lowkey iconic. πŸŽ€

✨ SYNOPSIS ✨

You need this include first, obviously:

#include <regex>

🌸 Public Types 🌸

Here's the typedef lineup, exactly as the manual gives it:

  • typedef _TraitsT::char_class_type _CharClassT β€” the _CharClassT alias, serving looks.
  • typedef _TransT::_CharT _CharT β€” the _CharT alias.
  • typedef _TraitsT::string_type _StringT β€” the _StringT alias.
  • typedef _TransT::_StrTransT _StrTransT β€” the _StrTransT alias.
  • typedef _RegexTranslator< _TraitsT, __icase, __collate > _TransT β€” the _TransT alias.

🫢 Public Member Functions 🫢

The member-function roster, fr fr:

  • _BracketMatcher (bool __is_non_matching, const _TraitsT &__traits) β€” constructor moment; takes bool __is_non_matching and const _TraitsT &__traits.
  • void _M_add_char (_CharT __c) β€” takes _CharT __c.
  • void _M_add_character_class (const _StringT &__s, bool __neg) β€” takes const _StringT &__s and bool __neg.
  • _StringT _M_add_collate_element (const _StringT &__s) β€” signature says it returns _StringT and takes const _StringT &__s.
  • void _M_add_equivalence_class (const _StringT &__s) β€” takes const _StringT &__s.
  • void _M_make_range (_CharT __l, _CharT __r) β€” takes _CharT __l and _CharT __r.
  • void _M_ready () β€” no args, just vibes.
  • bool operator() (_CharT __ch) const β€” the call operator, const, takes _CharT __ch.

πŸ’– Detailed Description πŸ’–

The template situation is giving nested detail-namespace realness:

template<typename _TraitsT, bool __icase, bool __collate>
       struct std::__detail::_BracketMatcher< _TraitsT, __icase, __collate
       >"Matches a character range (bracket expression)

Yes, that >"Matches is exactly the energy in the source snippet β€” I am not fixing it, bestie. πŸ’€

πŸ‘‘ Author πŸ‘‘

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


Sign-off tea πŸ«–: the footer/source-version line is the whole libststd::__detail::...se, __collate >(3cxx) situation, and there's no separate date shown there, so I'm not inventing one β€” that's all the footer timestamp lore we got. πŸ’œ

πŸ“¦ where this page comes from