預設 (1) | basic_ifstream(); |
---|---|
initialization (2) | explicit basic_ifstream (const char* filename, ios_base::openmode mode = ios_base::in); |
預設 (1) | basic_ifstream(); |
---|---|
initialization (2) | explicit basic_ifstream (const char* filename, ios_base::openmode mode = ios_base::in);explicit basic_ifstream (const string& filename, ios_base::openmode mode = ios_base::in); |
copy (3) | basic_ifstream (const basic_ifstream&) = delete; |
move (4) | basic_ifstream (basic_ifstream&& x); |
成員常量 | 代表 | access |
---|---|---|
in * | 輸入 | 檔案以讀模式開啟:內部流緩衝區支援輸入操作。 |
下可用的型別 | 輸出 | 檔案以寫模式開啟:內部流緩衝區支援輸出操作。 |
binary | binary | 操作以二進位制模式執行,而非文字模式。 |
ate | 在末尾 | 輸出位置從檔案末尾開始。 |
app | append (追加) | 所有輸出操作都在檔案末尾進行,追加到其現有內容。 |
trunc | truncate (截斷) | 檔案開啟前存在的任何內容都將被丟棄。 |
|
)組合。
|
|