A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/regex/regex_traits/getloc/ below:

public member function

<regex>

std::regex_traits::getloc
locale_type getloc() const;

Get locale

Returns the locale object associated with the regex_traits object.

The value returned is the object set in the last call to regex_traits::imbue, or the global locale (locale::global) if regex_traits::imbue has not been called on the object.


This function is called by

regex::getloc

to obtain the locale.

Parameters none

Return value The locale object associated with the regex_traits object.
locale_type is a member type, defined in regex_traits as an alias of the standard locale type.

See also
regex_traits::imbue
Imbue locale (public member function)
basic_regex::getloc
Get locale (public member function)
locale
Locale class (class)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4