std::basic_ifstream<CharT,Traits>:: native_handle
From cppreference.net
<
cpp
|
io
|
basic ifstream
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)
|
std::basic_ifstream
| Member functions | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
basic_ifstream::native_handle
(C++26)
|
||||
| File operations | ||||
| Non-member functions | ||||
|
(C++11)
|
|
native_handle_type native_handle
(
)
const
noexcept
;
|
(C++26以降) | |
basic_filebuf
に関連付けられた実装定義の基盤となるハンドルを返します。
is_open()
が
false
の場合の動作は未定義です。
戻り値
rdbuf ( ) - > native_handle ( )
注記
| 機能テスト マクロ | 値 | 標準 | 機能 |
|---|---|---|---|
__cpp_lib_fstream_native_handle
|
202306L
|
(C++26) | ネイティブハンドルサポート |
例
|
このセクションは不完全です
理由: 例 |