Namespaces
Variants
Views
Actions

LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, LC_TIME

From cppreference.com
< cpp‎ | locale
Revision as of 15:07, 19 December 2011 by Cubbi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:cpp/locale/sidebar Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <clocale>
</td>

<td></td> <td></td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
#define LC_ALL      /*implementation defined*/
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
#define LC_COLLATE  /*implementation defined*/
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
#define LC_CTYPE    /*implementation defined*/
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
#define LC_MONETARY /*implementation defined*/
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
#define LC_NUMERIC   /*implementation defined*/
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
#define LC_TIME      /*implementation defined*/
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end

Each of the macro constants defined in <clocale> that begin with LC_ followed by at least one uppercase letter, expand to integer constant expressions with distinct values that are suitable for use as the first argument of Template:cpp.

Template:tdcl list begin Template:tdcl list hitem Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list end

Additional C locale facets may be supported by an implementation.

Example

Template:example cpp

See also

Template:cpp/locale/dcl list setlocaleTemplate:cpp/locale/dcl list locale