basic_streambuf::getloc

locale getloc() const;

The member function returns the stored locale object.