cpp/regex/basic regex/getloc

Returns the current locale associated with the regular expression.

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

Parameters
(none)

Return value
The current locale associated with the regular expression.