istreambuf_iterator::int_type
為 istreambuf_iterator提供一個整數型別的型別。
typedef typename traits_type::int_type int_type;
備註
這個型別是 Traits::int_type之同義資料表。
範例
// istreambuf_iterator_int_type.cpp
// compile with: /EHsc
#include <iterator>
#include <iostream>
int main( )
{
using namespace std;
istreambuf_iterator<char>::int_type inttype1 = 100;
cout << "The inttype1 = " << inttype1 << "." << endl;
}
需求
標題: <iterator>
命名空間: std