num_get Class
A template class that describes an object that can serve as a locale facet to control conversions of sequences of type CharType to numeric values.
template<
class CharType,
class InputIterator = istreambuf_iterator<CharType>
> class num_get : public locale::facet;
Parameters
CharType
The type used within a program to encode characters in a locale.InputIterator
The type of iterator from which the numeric get functions read their input.
Remarks
As with any locale facet, the static object ID has an initial stored value of zero. The first attempt to access its stored value stores a unique positive value in id.
Constructors
The constructor for objects of type num_get that are used to extract numerical values from sequences. |
Typedefs
A type that is used to describe a character used by a locale. |
|
A type that describes an input iterator. |
Member Functions
A virtual function that is called to extracts a numerical or Boolean value from a character sequence. |
|
Extracts a numerical or Boolean value from a character sequence. |
Requirements
Header: <locale>
Namespace: std