std::regex_...*,operator->(3)

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

✨ NAME ✨

okay so bestie, welcome to the std::regex_token_iterator::operator*,operator-> page β€” manual name std::regex_...*,operator->(3) β€” from the C++ Standard Libary (yes, the header spells it that way 😭). This page is short and iconic. It's all about operator* and operator->, periodt.

  • std::regex_token_iterator::operator*,operator-> β€” the name, slaying.
  • std::regex_token_iterator::operator*,operator-> β€” yep, the original lists it twice, so we're listing it twice. No cap.

🌸 Synopsis 🌸

const value_type& operator*() const;  (1) (since C++11)
const value_type* operator->() const; (2) (since C++11)

Returns a pointer or reference to the current match. That's the whole vibe check ✨.

πŸŽ€ Return value πŸŽ€

  1. Returns a reference to the current match. (1)
  2. Returns a pointer to the current match. (2)
🚨 bestie, warning: The behavior is undefined if the iterator is end-of-sequence iterator. Do not test that vibe, fr fr β€” it's undefined behavior πŸ’€.

xoxo, source/version: http://cppreference.com Β· date: 2024.06.10 Β· page: std::regex_...*,operator->(3) πŸ’–πŸ«Ά

πŸ“¦ where this page comes from