Aracılığıyla paylaş


flush (Standart C++ Kitaplığı)

Arabelleği boşaltır.

template class<_Elem, _Tr>
   basic_ostream<_Elem, _Tr>& 
   flush(basic_ostream<_Elem, _Tr>& _Ostr
   );

Parametreler

  • _Elem
    Öğe türü.

  • _Ostr
    Bir nesne türü basic_ostream.

  • _Tr
    Karakter nitelikler.

Dönüş Değeri

Bir nesne türü basic_ostream.

Notlar

Manipulator çağrıları _Ostr**.**flush. Verdiği _Ostr.

Örnek

// ostream_flush.cpp
// compile with: /EHsc
#include <iostream>

int main( ) 
{
   using namespace std;
   cout << "testing" << flush;
}
  

Gereksinimler

Başlık: <ostream>

Namespace: std

Ayrıca bkz.

Başvuru

iostream programlama

iostreams kuralları