std::match_...sults::cend(3)

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

okay bestie, welcome to std::match_...sults::cend(3) from the C++ Standard Libary β€” yes, that’s the manual name, and we’re keeping it exactly as it is 🫢. This page is the whole group chat for std::match_results::end and std::match_results::cend, lowkey all about grabbing the end iterator for the list of sub-matches. No cap ✨.

πŸ’– NAME πŸ’–

The NAME line is literally std::match_results::end,std::match_results::cend - std::match_results::end,std::match_results::cend β€” so we’re talking about std::match_results::end and std::match_results::cend, bestie πŸ’…. Yes, it repeats itself. It’s giving main character energy, periodt.

✨ Synopsis ✨

The signatures are exact-copy energy, so here they are character-for-character, no edits πŸ’–:

          iterator end() noexcept;               (since C++11)
          const_iterator end() const noexcept;   (since C++11)
          const_iterator cend() const noexcept;  (since C++11)

Translation: this returns an iterator to the end of the list of sub-matches πŸ¦‹. That’s the vibe, fr fr.

🌸 Parameters 🌸

  • (none) β€” literally none, bestie. Not a single parameter in sight πŸ™ˆ.

πŸŽ€ Return value πŸŽ€

An iterator to the element past the last sub-match β€” that’s the return value, ngl it ate ⭐.

⚑ Complexity ⚑

Constant. That’s the whole complexity, and it’s iconic πŸ’€βœ¨.

πŸ‘€ See also πŸ‘€

  • begin β€” returns iterator to the beginning of the list of sub-matches πŸ’–.
  • cbegin β€” (public member function) πŸ‘‘.

that’s the page, bestie πŸ’œ source/version: http://cppreference.com; date: 2024.06.10 β€” kisses and bye πŸŽ€

πŸ“¦ where this page comes from