|
2530 | 2530 | \indexlibrarymember{num_get}{do_get}%
|
2531 | 2531 | \begin{itemdecl}
|
2532 | 2532 | iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
2533 |
| - ios_base::iostate& err, long& val) const; |
| 2533 | + ios_base::iostate& err, long& val) const; |
2534 | 2534 | iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
2535 |
| - ios_base::iostate& err, long long& val) const; |
| 2535 | + ios_base::iostate& err, long long& val) const; |
2536 | 2536 | iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
2537 |
| - ios_base::iostate& err, unsigned short& val) const; |
| 2537 | + ios_base::iostate& err, unsigned short& val) const; |
2538 | 2538 | iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
2539 |
| - ios_base::iostate& err, unsigned int& val) const; |
| 2539 | + ios_base::iostate& err, unsigned int& val) const; |
2540 | 2540 | iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
2541 |
| - ios_base::iostate& err, unsigned long& val) const; |
| 2541 | + ios_base::iostate& err, unsigned long& val) const; |
2542 | 2542 | iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
2543 |
| - ios_base::iostate& err, unsigned long long& val) const; |
| 2543 | + ios_base::iostate& err, unsigned long long& val) const; |
2544 | 2544 | iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
2545 |
| - ios_base::iostate& err, float& val) const; |
| 2545 | + ios_base::iostate& err, float& val) const; |
2546 | 2546 | iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
2547 |
| - ios_base::iostate& err, double& val) const; |
| 2547 | + ios_base::iostate& err, double& val) const; |
2548 | 2548 | iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
2549 |
| - ios_base::iostate& err, long double& val) const; |
| 2549 | + ios_base::iostate& err, long double& val) const; |
2550 | 2550 | iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
2551 |
| - ios_base::iostate& err, void*& val) const; |
| 2551 | + ios_base::iostate& err, void*& val) const; |
2552 | 2552 | \end{itemdecl}
|
2553 | 2553 |
|
2554 | 2554 | \begin{itemdescr}
|
|
2746 | 2746 | \begin{itemdescr}
|
2747 | 2747 | \pnum
|
2748 | 2748 | \effects
|
2749 |
| -If \tcode{(str.flags()\&ios_base::boolalpha) == 0} |
| 2749 | +If \tcode{(str.flags() \& ios_base::boolalpha) == 0} |
2750 | 2750 | then input proceeds as it would for a \tcode{long}
|
2751 | 2751 | except that if a value is being stored into \tcode{val},
|
2752 | 2752 | the value is determined according to the following:
|
|
2778 | 2778 | when seeking another character to match,
|
2779 | 2779 | it is found that \tcode{(in == end)}.
|
2780 | 2780 | If \tcode{val} is not set, then \tcode{err} is set to \tcode{str.failbit};
|
2781 |
| -or to \tcode{(str.failbit|str.eofbit)} |
| 2781 | +or to \tcode{(str.failbit | str.eofbit)} |
2782 | 2782 | if the reason for the failure was that \tcode{(in == end)}.
|
2783 | 2783 | \begin{example}
|
2784 | 2784 | For targets \tcode{true}: \tcode{"a"} and \tcode{false}: \tcode{"abb"},
|
|
0 commit comments