STD::__DETAIL::_COMPILER(3)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 7 versions
, in arch rolling, centos-stream 10, fedora 44

🌸 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, aka regex_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, a const 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 a shared_ptr< const _RegexT > with the finished NFA. and yes, she's noexcept about 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