| bool (1) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, bool& val) const; |
|---|---|
| long (2) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, long& val) const; |
| unsigned short (3) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, unsigned short& val) const; |
| unsigned int (4) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, unsigned int& val) const; |
| unsigned long (5) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, unsigned long& val) const; |
| float (6) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, float& val) const; |
| double (7) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, double& val) const; |
| long double (8) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, long double& val) const; |
| pointer (9) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, void*& val) const; |
| bool (1) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, bool& val) const; |
|---|---|
| long (2) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, long& val) const; |
| unsigned short (3) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, unsigned short& val) const; |
| unsigned int (4) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, unsigned int& val) const; |
| unsigned long (5) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, unsigned long& val) const; |
| float (6) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, float& val) const; |
| double (7) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, double& val) const; |
| long double (8) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, long double& val) const; |
| pointer (9) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, void*& val) const; |
| long long (10) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, long long& val) const; |
| unsigned long long (11) | iter_type get (iter_type in, iter_type end, ios_base& str, ios_base::iostate& err, unsigned long long& val) const; |
| value in err | value in val | description |
|---|---|---|
| goodbit | the value read | Success (without reaching end). |
| failbit | unspecified | Failure: The sequence of characters did not match the expected format |
| eofbit | one of the above | end was reached during the operation (this can happen both in case of success or failure). |
| value in err | value in val | description |
|---|---|---|
| unchanged | the value read | Success (without reaching end). |
| failbit | zero | The sequence did not match the expected format |
numeric_limits::max() | The sequence represents a value too large for the type of val | |
numeric_limits::lowest() | The sequence represents a value too large negative for the type of val | |
| eofbit | one of the above | end was reached during the operation (this can happen both in case of success or failure) |
[in,end), which contains all the characters between in and end, including the character pointed by in but not the character pointed by end. |
|
Please, enter PI: 3.14 Right! |