31 Regular expressions library [re]

31.8 Class template basic_­regex [re.regex]

31.8.5 basic_­regex locale [re.regex.locale]

locale_type imbue(locale_type loc);

Effects: Returns the result of traits_­inst.imbue(loc) where traits_­inst is a (default-initialized) instance of the template type argument traits stored within the object. After a call to imbue the basic_­regex object does not match any character sequence.

locale_type getloc() const;

Effects: Returns the result of traits_­inst.getloc() where traits_­inst is a (default-initialized) instance of the template parameter traits stored within the object.