다음을 통해 공유


istreambuf_iterator::int_type

A type that provides an integer type for an istreambuf_iterator.

typedef typename traits_type::int_type int_type;

Remarks

The type is a synonym for Traits::int_type.

Example

// 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;
}
The inttype1 = 100.

Requirements

Header: <iterator>

Namespace: std

See Also

Reference

istreambuf_iterator Class

Standard Template Library