C++ Locale Library - numpunct



Description

It provides information about the format of punctuation marks for numbers and also the strings to represent the true and false boolean values.

Declaration

Following is the declaration for std::numpunct.

C++98

	
template <class charT> class numpunct;

C++11

template <class charT> class numpunct;

Parameters

charT − It is a character type.

Return Value

none

Member types

Sr.No. Member type & description
1

char_type

It a character type facet.

2

string_type

It a basic string.

locale.htm
Advertisements