std::basic_regex::getloc(3)
π 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
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms