Share via


<clocale>

Defines the macros traditionally defined in the Standard C library header <locale.h>.

#if <TRADITIONAL C HEADERS> 
   #include <locale.h> 
namespace std { 
   using ::lconv; 
   using ::localeconv; 
   using ::setlocale; 
} 
#endif

Remarks

Including this header also ensures that the names declared with external linkage in the Standard C library header are declared in the std namespace. In this implementation, the names may or may not also be declared in the global namespace, depending on the specific translation environment.

See Also

Reference

Standard C++ Library Overview

Thread Safety in the Standard C++ Library

Other Resources

Header Files