public static member function
<locale>

std::locale::classic

static const locale& classic();
Get classic locale [static]
Returns the classic locale, which corresponds in semantics to the "C" locale (the default locale).

It is equivalent to constructing a locale with:
1
locale("C")

Parameters

none

Return value

The classic locale.

Data races

none

Exception safety

Strong guarantee: if an exception is thrown, there are no effects.

See also