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 ( )
참고 사항
| Feature-test 매크로 | 값 | 표준 | 기능 |
|---|---|---|---|
__cpp_lib_fstream_native_handle
|
202306L
|
(C++26) | 네이티브 핸들 지원 |
예제
|
이 섹션은 불완전합니다
이유: 예시 |