다음을 통해 공유


istreambuf_iterator::int_type

A type that provides an integer type for an istreambuf_iterator.

typedef typename traits_type::int_type int_type;

설명

The type is a synonym for 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

참고 항목

참조

istreambuf_iterator 클래스

표준 템플릿 라이브러리