cpp/regex/basic regex/imbue

Replaces the current locale with. The regular expression does not match any character sequence after the call.

Effectively calls where  is a default initialized instance of the type  stored within the regular expression object.

Return value
The locale before the call to this function. Effectively returns the result of expression.