STD::__DETAIL::_STATESEQ(3)
π 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 statevoid _M_append (_StateIdT __id)β tack a state id onto the end of the sequencevoid _M_append (const _StateSeq &__s)β tack a whole other_StateSeqonto 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