std::regex_traits::getloc(3)

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

okay bestie, welcome to std::regex_traits::getloc(3) from the C++ Standard Libary πŸ’– this one is short, sweet, and fully about which locale your traits object is vibing with ✨

✨ NAME ✨

std::regex_traits::getloc - std::regex_traits::getloc

🌸 Synopsis 🌸

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

Returns the current locale of the traits object.

If imbue() has been never called for this object, then the global locale at the time of the call is returned. Otherwise, the locale passed to the last call to imbue() is returned.

πŸ¦‹ Parameters πŸ¦‹

  • (none) β€” zero parameters, bestie, not even one little guy πŸ™ˆ

πŸŽ€ Return value πŸŽ€

The current locale of the traits object. That’s it, that’s the whole return value, periodt πŸ’…

🌈 Example 🌈

This section is incomplete Reason: no example

the example section is literally ghosting us 😭

⭐ See also ⭐

  • imbue β€” sets the locale (public member function)

πŸ“ Category πŸ“

  • Todo no example

source/version: http://cppreference.com Β· date: 2024.06.10 β€” mwah, bestie πŸ’‹

πŸ“¦ where this page comes from