STD::__DETAIL::_STATESEQ(3)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 6 versions
, in arch rolling, fedora 44

πŸ’– NAME πŸ’–

ok so bestie, welcome to std::__detail::_StateSeq< _TraitsT > β€” she Describes a sequence of one or more _State, its current start and end(s). This structure contains fragments of an NFA during construction. πŸ¦‹

like. she's literally a lil glow-up-in-progress regex machine. no cap.


✨ SYNOPSIS ✨

#include <regex>

🌸 Public Types 🌸

  • typedef _NFA< _TraitsT > _RegexT β€” the NFA type she's built on top of, iconic πŸ’…

πŸŽ€ Public Member Functions πŸŽ€

  • _StateSeq (_RegexT &__nfa, _StateIdT __s) β€” make a new one with an nfa and a start state, periodt
  • _StateSeq (_RegexT &__nfa, _StateIdT __s, _StateIdT __end) β€” same vibe but you also get to hand her an end state
  • void _M_append (_StateIdT __id) β€” tack a state id onto the end of the sequence
  • void _M_append (const _StateSeq &__s) β€” tack a whole other _StateSeq onto the end, the way that she just absorbs it 😭
  • _StateSeq _M_clone () β€” copy her. a whole duplicate. main character duplication energy πŸ‘‘

🧚 Public Attributes 🧚

  • _StateIdT _M_end β€” where she ends
  • _RegexT & _M_nfa β€” a reference to her nfa, not a copy, careful bestie πŸ™ˆ
  • _StateIdT _M_start β€” where she starts

🌈 Detailed Description 🌈

template<typename _TraitsT>
    class std::__detail::_StateSeq< _TraitsT >

"Describes a sequence of one or more _State, its current start and end(s). This structure contains fragments of an NFA during construction.

so fr fr β€” she's a fragment of an NFA, not the whole thing. the NFA is still being built, and _StateSeq is the lil chunk holding onto the current _M_start, the current _M_end, and her _M_nfa reference the whole time. lowkey the backbone of regex construction. 🫢


πŸ‘‘ Author πŸ‘‘

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

and that's the whole page, bestie β€” literally just a Doxygen-generated libstdc++ situation, libstdc++ edition, std::__det..._TraitsT >(3). go build some automatons. slay πŸ’…βœ¨πŸŽ€

πŸ“¦ 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
  • 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