getloc

Determines the imbued locale for input output operations.

  locale getloc() const;
  
Remarks

Returns the global C++ locale if no locale has been imbued. Otherwise it returns the locale of the input and output operations.