| 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) |
| Member functions | ||||
(C++11) | ||||
(C++11) | ||||
basic_fstream::native_handle (C++26) | ||||
| File operations | ||||
| Non-member functions | ||||
(C++11) |
native_handle_type native_handle()constnoexcept; | (since C++26) | |
Returns the implementation defined underlying handle associated withbasic_filebuf. The behavior is undefined ifis_open() isfalse.
rdbuf()->native_handle()
| Feature-test macro | Value | Std | Feature |
|---|---|---|---|
__cpp_lib_fstream_native_handle | 202306L | (C++26) | native handles support |
| This section is incomplete Reason: example |