basic_ostream::tellp

Berichtsposition im Ausgabestream.

pos_type tellp( );

Rückgabewert

Position im Ausgabestream.

Hinweise

Wenn Failfalse ist, gibt die Memberfunktion rdbuf-> pubseekoff zurück (0, cur, in).Andernfalls gibt sie zurück pos_type(- 1).

Beispiel

Siehe seekp als ein Beispiel mit tellp.

Anforderungen

Header: <ostream>

Namespace: std

Siehe auch

Referenz

basic_ostream Class

Programmierung der iostream-Headerdatei

iostreams Konventionen