Header Reference: <locale>
Header Reference: <locale>
Locale objects, facets, and locale-aware text, numeric, and time formatting/parsing support from <locale>.
Header Reference: <locale>
Locale objects, facets, and locale-aware text, numeric, and time formatting/parsing support from <locale>.
Use reference pages to confirm names, categories, nearby facilities, and the constraints that matter before writing or reviewing code.
Header reference pages are meant to answer a practical question quickly: what this header provides, when to reach for it, and which usage rules are easiest to get wrong.
<locale>std::localectype, numpunct, num_get, num_put, collate, time_get, time_putUse <locale> when text processing, collation, numeric formatting, or parsing must respect culture-specific conventions.
#include <locale>
int main() {
// Start with the primary facility from <locale>.
// Then verify lifetime, invalidation, ordering, or error-handling rules.
return 0;
}