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/imbue/ below:

public member function

<regex>

std::regex_traits::imbue
locale_type imbue (locale_type loc);

Imbue locale

Associates loc to the regex_traits object.

In the standard regex_traits, an object uses the global locale (locale::global) on construction. By calling this function a new locale is assigned, and any information cached in the object is cleared.

This function is called by regex::imbue to imbue a new locale.



Parameters
loc
locale object to be imbued as the new locale for the regex_traits.
locale_type is a member type, defined in regex_traits as an alias of the standard locale type.

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

See also
regex_traits::getloc
Get locale (public member function)
basic_regex::imbue
Imbue 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