|
56 | 56 | \tcode{imbue},
|
57 | 57 | the behavior is undefined.
|
58 | 58 |
|
| 59 | +\rSec2[stream.types]{Types} |
| 60 | + |
| 61 | +\indexlibraryglobal{streamoff}% |
| 62 | +\begin{itemdecl} |
| 63 | +using streamoff = @\impdefx{type of \tcode{streamoff}}@; |
| 64 | +\end{itemdecl} |
| 65 | + |
| 66 | +\begin{itemdescr} |
| 67 | +\pnum |
| 68 | +The type \tcode{streamoff} is a synonym for one of the signed basic integral types of |
| 69 | +sufficient size to represent the maximum possible file size for the operating system. |
| 70 | +\begin{footnote} |
| 71 | +Typically \tcode{long long}. |
| 72 | +\end{footnote} |
| 73 | +\end{itemdescr} |
| 74 | + |
| 75 | +\indexlibraryglobal{streamsize}% |
| 76 | +\begin{itemdecl} |
| 77 | +using streamsize = @\impdef@; |
| 78 | +\end{itemdecl} |
| 79 | + |
| 80 | +\begin{itemdescr} |
| 81 | +\pnum |
| 82 | +The type |
| 83 | +\tcode{streamsize} |
| 84 | +is a synonym for one of the signed basic |
| 85 | +integral types. |
| 86 | +It is used to represent the number of characters transferred in an I/O |
| 87 | +operation, or the size of I/O buffers. |
| 88 | +\begin{footnote} |
| 89 | +Most places where \tcode{streamsize} is used would use \tcode{size_t} in ISO C, |
| 90 | +or \tcode{ssize_t} in POSIX. |
| 91 | +\end{footnote} |
| 92 | +\end{itemdescr} |
| 93 | + |
| 94 | + |
59 | 95 | \rSec2[iostreams.limits.pos]{Positioning type limitations}
|
60 | 96 |
|
61 | 97 | \pnum
|
|
698 | 734 | \indexlibraryglobal{basic_ios<wchar_t>}%
|
699 | 735 | \indexlibraryglobal{fpos}%
|
700 | 736 |
|
701 |
| -\rSec2[stream.types]{Types} |
702 |
| - |
703 |
| -\indexlibraryglobal{streamoff}% |
704 |
| -\begin{itemdecl} |
705 |
| -using streamoff = @\impdefx{type of \tcode{streamoff}}@; |
706 |
| -\end{itemdecl} |
707 |
| - |
708 |
| -\begin{itemdescr} |
709 |
| -\pnum |
710 |
| -The type \tcode{streamoff} is a synonym for one of the signed basic integral types of |
711 |
| -sufficient size to represent the maximum possible file size for the operating system. |
712 |
| -\begin{footnote} |
713 |
| -Typically \tcode{long long}. |
714 |
| -\end{footnote} |
715 |
| -\end{itemdescr} |
716 |
| - |
717 |
| -\indexlibraryglobal{streamsize}% |
718 |
| -\begin{itemdecl} |
719 |
| -using streamsize = @\impdefx{type of \tcode{streamsize}}@; |
720 |
| -\end{itemdecl} |
721 |
| - |
722 |
| -\begin{itemdescr} |
723 |
| -\pnum |
724 |
| -The type |
725 |
| -\tcode{streamsize} |
726 |
| -is a synonym for one of the signed basic |
727 |
| -integral types. |
728 |
| -It is used to represent the number of characters transferred in an I/O |
729 |
| -operation, or the size of I/O buffers. |
730 |
| -\begin{footnote} |
731 |
| -\tcode{streamsize} |
732 |
| -is used in most places where ISO C would use \tcode{size_t}. |
733 |
| -\end{footnote} |
734 |
| -\end{itemdescr} |
735 |
| - |
736 | 737 | \rSec2[ios.base]{Class \tcode{ios_base}}
|
737 | 738 |
|
738 | 739 | \rSec3[ios.base.general]{General}
|
|
0 commit comments