The C++ Standard Library
- C++ Library - <valarray>
- C++ Library - <utility>
- C++ Library - <typeinfo>
- C++ Library - <tuple>
- C++ Library - <thread>
- C++ Library - <string>
- C++ Library - <stdexcept>
- C++ Library - <regex>
- C++ Library - <numeric>
- C++ Library - <new>
- C++ Library - <memory>
- C++ Library - <locale>
- C++ Library - <limits>
- C++ Library - <functional>
- C++ Library - <exception>
- C++ Library - <complex>
- C++ Library - <atomic>
- C++ Library - <streambuf>
- C++ Library - <sstream>
- C++ Library - <ostream>
- C++ Library - <istream>
- C++ Library - <iostream>
- C++ Library - <iosfwd>
- C++ Library - <ios>
- C++ Library - <iomanip>
- C++ Library - <fstream>
- C++ Library - Home
The C++ STL Library
- C++ Library - <iterator>
- C++ Library - <algorithm>
- C++ Library - <vector>
- C++ Library - <unordered_set>
- C++ Library - <unordered_map>
- C++ Library - <stack>
- C++ Library - <set>
- C++ Library - <queue>
- C++ Library - <map>
- C++ Library - <list>
- C++ Library - <forward_list>
- C++ Library - <deque>
- C++ Library - <bitset>
- C++ Library - <array>
C++ Programming Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
C++ Library - <locale>
Introduction
It is a locapzation pbrary and a set of features that are culture-specific, which can be used by programs to be more portable internationally.
Declaration
Following is the declaration for std::locale.
class locale;
C++11
class locale;
Functions
Sr.No. | Function & description |
---|---|
1 | It is used to access facet of locale. |
2 | It is used to check if locale has facet. |
Convenience interfaces
Sr.No. | Interface & description |
---|---|
1 | It checks if character is a white-space. |
2 | It checks if character is printable. |
3 | It checks if character is a control character. |
4 | It checks if character is uppercase letter. |
5 | It checks if character is lowercase letter. |
6 | It checks if character is alphabetic. |
7 | It checks if character is decimal digit. |
8 | It checks if character is a punctuation character. |
9 | It checks if character is hexadecimal digit. |
10 | It checks if character is alphanumeric. |
11 | It checks if character has graphical representation. |
12 | It checks if character is blank. |
Standard facets
Sr.No. | Standard facet & description |
---|---|
1 | It is a character type facet. |
2 | It is a character type facet. |
3 | It is used to convert codeset facet. |
4 | It is used to convert codeset facet. |
5 | It is a facet to parse numeric values. |
6 | It is a facet to format numeric values. |
7 | It is a numeric punctuation facet. |
8 | It is a numeric punctuation facet. |
9 | It is a facet to compare and hash strings. |
10 | It is a facet to compare and hash strings. |
11 | It is a facet to parse dates and times. |
12 | It is a facet to parse dates and times. |
13 | It is a facet to format dates and times. |
14 | It is a facet to format dates and times. |
15 | It is a facet to parse monetary expressions. |
16 | It is a facet to format monetary expressions. |
17 | It is a monetary punctuation facet. |
18 | It is a monetary punctuation facet. |
19 | It is a facet to access message catalogs. |
20 | It is a facet to access message catalogs. |
Class
Sr.No. | Class & description |
---|---|
1 | It is a locale class. |