std::basic_regex::getloc(3)

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

πŸ’– NAME πŸ’–

okay so welcome to the std::basic_regex::getloc(3) page, bestie, straight out of the C++ Standard Libary manual πŸ’…. The name line is std::basic_regex::getloc - std::basic_regex::getloc β€” yep, the same name twice, iconic 😭. We move.

✨ Synopsis ✨

Here's the signature, and it's been around since C++11, no cap:

locale_type getloc() const;  (since C++11)

This one returns the current locale associated with the regular expression πŸŽ€. Under the hood it effectively calls traits_i.getloc(), where traits_i is a default initialized instance of the type Traits, stored within the regular expression object β€” iykyk.

🌸 Parameters 🌸

(none) β€” no parameters, not a single one, bestie 🫢.

πŸ¦‹ Return value πŸ¦‹

The current locale associated with the regular expression ✨. That's the whole vibe.

πŸ”₯ Exceptions πŸ”₯

May throw implementation-defined exceptions 😭. So like, if it throws, the implementation gets to define the details β€” that's the page's whole story, fr fr.

πŸŽ€ Example πŸŽ€

This section is incomplete β€” Reason: no example 😭. It's giving placeholder energy, but that's literally what's on the page, bestie.

🌈 See also 🌈

  • imbue β€” set locale information (public member function) πŸ‘‘

πŸ’€ Category πŸ’€

  • Todo no example β€” yep, that's the category, and it's very much a todo no example situation πŸ™ˆ.

Big mwah and sparkle fingers to http://cppreference.com for the source β€” this page is dated 2024.06.10, and it's the std::basic_regex::getloc(3) page, periodt πŸ’…βœ¨.

πŸ“¦ where this page comes from