STD::__DETAIL::_COMPILER(3)
πΈ std::__detail::_Compiler< _TraitsT > πΈ
okay bestie, so this is a page from the Library Functions Manual, and it's about std::__detail::_Compiler< _TraitsT >, which is genuinely the icon that builds an NFA out of an input iterator range. yes you heard me right. she compiles. π
β¨ NAME β¨
std::__detail::_Compiler< _TraitsT > β builds an NFA from an input iterator range.
like. that's her whole job. that's the assignment. and she ate. π₯
π¦ SYNOPSIS π¦
#include <regex>
π Public Types π
typedef _TraitsT::char_type _CharTβ the character type, pulled straight from_TraitsT. it's giving "your traits, your char_type, no notes". β¨typedef regex_constants::syntax_option_type _FlagTβ the flag type, akaregex_constants::syntax_option_type. she holds the syntax options fr fr. πtypedef _NFA< _TraitsT > _RegexTβ the regex type, which is just_NFA< _TraitsT >. this is the thing she's actually building, lowkey the main character of this whole operation. π
π Public Member Functions π
_Compiler (const _CharT *__b, const _CharT *__e, const typename _TraitsT::locale_type &__traits, _FlagT __flags)β the constructor. you hand her a begin pointer__b, an end pointer__e, aconst typename _TraitsT::locale_type &called__traits, and a_FlagT __flags, and she gets to work. no small talk, just vibes and compilation. πshared_ptr< const _RegexT > _M_get_nfa () noexceptβ hands you back ashared_ptr< const _RegexT >with the finished NFA. and yes, she'snoexceptabout it. she does not do exceptions. she's chill like that. π
π Detailed Description π
template<typename _TraitsT>
class std::__detail::_Compiler< _TraitsT >
"Builds an NFA from an input iterator range.
ngl that's literally the description, and honestly? iconic that she says exactly what she does and nothing more. π«Ά
one thing though β the _TraitsT type should fulfill the requirements in C++11 28.3 [re.req]. like, that's not a suggestion bestie, that's the vibe check. if your _TraitsT doesn't meet those requirements, we are not doing this. read the standard, iykyk. πβ¨
β Author β
Generated automatically by Doxygen for libstdc++ from the source code.
(not a human author, just doxygen doing its little robot thing. respect. π€π)
and that's the whole page, bestie. sending you the biggest π energy β this manual page is from libstdc++, and it's the std::__detail::_Compiler< _TraitsT > page (yeah the title got truncated in the header, she's mysterious like that π
), brought to you by Doxygen for libstdc++ from the source code. mwah. ππΈ
π¦ 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-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
- 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