std:: fpos_t
From cppreference.net
C++
Input/output library
| I/O manipulators | ||||
| Print functions (C++23) | ||||
| C-style I/O | ||||
| Buffers | ||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(C++20)
|
||||
| Streams | ||||
| Abstractions | ||||
| File I/O | ||||
| String I/O | ||||
| Array I/O | ||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
| Synchronized Output | ||||
|
(C++20)
|
||||
| Types | ||||
| Error category interface | ||||
|
(C++11)
|
||||
|
(C++11)
|
C-style I/O
| Types and objects | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
定義於ヘッダ
<cstdio>
|
||
|
typedef
/* implementation-defined */
fpos_t
;
|
||
std::fpos_t
は非配列完全オブジェクト型であり、Cストリームの位置とマルチバイトパーサ状態(存在する場合)を保存(
std::fgetpos
によって)および復元(
std::fsetpos
によって)するために使用できます。
ワイド指向Cストリームのマルチバイトパーサー状態は、
std::mbstate_t
オブジェクトによって表現され、その値は
std::fpos_t
オブジェクトの値の一部として
std::fgetpos
によって保存されます。
関連項目
|
ファイル位置指示子を取得する
(関数) |
|
|
ファイル位置指示子をファイル内の特定の位置に移動する
(関数) |
|
|
マルチバイト文字列を反復処理するために必要な変換状態情報
(クラス) |
|
|
ストリームまたはファイル内の絶対位置を表す
(クラステンプレート) |
|
|
Cドキュメント
for
fpos_t
|
|