Edit

Share via


<clocale>

Includes the Standard C library header <locale.h> and adds the associated names to the std namespace.

Requirements

Header: <clocale>

Namespace: std

Remarks

Including this header ensures that the names declared using external linkage in the Standard C library header are declared in the std namespace.

Constants

#define NULL see below
#define LC_ALL see below
#define LC_COLLATE see below
#define LC_CTYPE see below
#define LC_MONETARY see below
#define LC_NUMERIC see below
#define LC_TIME see below

Structures

struct lconv;

Functions

char* setlocale(int category, const char* locale);
lconv* localeconv();

See also

Header Files Reference
C++ Standard Library Overview
Thread Safety in the C++ Standard Library