Share via


wstreampos

バッファーのポインターまたはファイル ポインターの現在位置を保持します。

typedef fpos<mbstate_t> wstreampos;

解説

型は fpos<mbstate_t> のシノニムです。

使用例

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

int main( ) 
{
   using namespace std;
   wofstream xw( "wiostream.txt" );
   xw << L"testing";
   wstreampos y = xw.tellp( );
   cout << y << endl;
}
  

必要条件

ヘッダー : <ios>

名前空間: std

参照

関連項目

fpos Class

入出力ストリームのプログラミング

入出力ストリームの規則

その他の技術情報

fpos のメンバー

<ios> メンバー