std::basic_fstream<CharT,Traits>:: native_handle
From cppreference.net
<
cpp
|
io
|
basic fstream
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_fstream
| Member functions | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
basic_fstream::native_handle
(C++26)
|
||||
| File operations | ||||
| Non-member functions | ||||
|
(C++11)
|
|
native_handle_type native_handle
(
)
const
noexcept
;
|
(seit C++26) | |
Gibt das implementierungsdefinierte zugrundeliegende Handle zurück, das mit
basic_filebuf
assoziiert ist. Das Verhalten ist undefiniert, wenn
is_open
(
)
false
ist.
Rückgabewert
rdbuf ( ) - > native_handle ( )
Hinweise
| Feature-Test Makro | Wert | Std | Funktion |
|---|---|---|---|
__cpp_lib_fstream_native_handle
|
202306L
|
(C++26) | Native Handles Unterstützung |
Beispiel
|
Dieser Abschnitt ist unvollständig
Grund: Beispiel |