std::match_...s::max_size(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’… std::match_...s::max_size(3) πŸ’…

okay bestie, welcome to the std::match_...s::max_size(3) page β€” it lives in the C++ Standard Libary manual, and we are folding that manual-name info right in here instead of copying the whole header line. periodt. πŸ’–


πŸ’– NAME πŸ’–

  • std::match_results::max_size β€” std::match_results::max_size

✨ Synopsis ✨

size_type max_size() const noexcept;  (since C++11)

So it returns the maximum number of submatches the match_results type is able to hold due to system or library implementation limitations, i.e. std::distance(begin(), end()) for the largest number of submatches. That's the whole vibe. πŸ¦‹


πŸŽ€ Parameters πŸŽ€

  • (none) β€” literally zero parameters, she takes no arguments. πŸ’…

🌸 Return value 🌸

  • Maximum number of submatches. ✨

πŸ¦‹ Complexity πŸ¦‹

  • Constant. Easy, breezy, iconic. πŸ‘‘

🫢 source/version vibes: http://cppreference.com, dated 2024.06.10 β€” that's the footer, bestie, bye! πŸ’–
πŸ“¦ where this page comes from