std::streamsize
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <ios>
|
||
| typedef /*unspecified*/ streamsize; |
||
的类型
std::streamsize是一个带符号的整数类型,用来表示在一个I / O操作的I / O缓冲器的大小传输的字符的数目。它是用来作为一个符号的对应物std::size_t,类似于POSIX类型ssize_t.Original:
The type
std::streamsize is a signed integral type used to represent the number of characters transferred in an I/O operation or the size of an I/O buffer. It is used as a signed counterpart of std::size_t, similar to the POSIX type ssize_t.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
除std::strstreambuf的建设者,负值
std::streamsize从来没有用了Original:
Except in the constructors of std::strstreambuf, negative values of
std::streamsize are never used.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 另请参阅
| 通过上次未格式化输入操作提取的字符数返回 Original: returns number of characters extracted by last unformatted input operation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员函数of std::basic_istream)
| |
| 提取物和丢弃给定字符的字符,直到被发现 Original: extracts and discards characters until the given character is found The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员函数of std::basic_istream)
| |
| 提取的字符块 Original: extracts blocks of characters The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员函数of std::basic_istream)
| |
| 插入的字符块 Original: inserts blocks of characters The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员函数of std::basic_ostream)
| |