পৃষ্ঠাসমূহ

.

Search Your Article

Total Pageviews

Saturday, January 28, 2017

C++ Library -

Introduction

It is a localization library 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

S.N. Function & description
1 use_facet It is used to access facet of locale.
2 has_facet It is used to check if locale has facet.

Convenience interfaces

S.N. Interface & description
1 isspace It checks if character is a white-space.
2 isprint It checks if character is printable.
3 iscntrl It checks if character is a control character.
4 isupper It checks if character is uppercase letter.
5 islower It checks if character is lowercase letter.
6 isalpha It checks if character is alphabetic.
7 isdigit It checks if character is decimal digit.
8 ispunct It checks if character is a punctuation character.
9 isxdigit It checks if character is hexadecimal digit.
10 isalnum It checks if character is alphanumeric.
11 isgraph It checks if character has graphical representation.
12 isblank It checks if character is blank.

Standard facets

S.N. Standard facet & description
1 ctype It is a character type facet.
2 ctype_byname It is a character type facet.
3 codecvt It is used to convert codeset facet.
4 codecvt_byname It is used to convert codeset facet.
5 num_get It is a facet to parse numeric values.
6 num_put It is a facet to format numeric values.
7 numpunct It is a numeric punctuation facet.
8 numpunct_byname It is a numeric punctuation facet.
9 collate It is a facet to compare and hash strings.
10 collate_byname It is a facet to compare and hash strings.
11 time_get It is a facet to parse dates and times.
12 time_get_byname It is a facet to parse dates and times.
13 time_put It is a facet to format dates and times.
14 time_put_byname It is a facet to format dates and times.
15 money_get It is a facet to parse monetary expressions.
16 money_put It is a facet to format monetary expressions.
17 moneypunct It is a monetary punctuation facet.
18 moneypunct_byname It is a monetary punctuation facet.
19 messages It is a facet to access message catalogs.
20 messages_byname It is a facet to access message catalogs.

Class

S.N. Class & description
1 locale It is a locale class.

No comments:

Post a Comment