Scroll to navigation

std::basic_ifstream::native_handle(3) C++ Standard Libary std::basic_ifstream::native_handle(3)

NAME

std::basic_ifstream::native_handle - std::basic_ifstream::native_handle

Synopsis


native_handle_type native_handle() const noexcept; (since C++26)


Returns the implementation defined underlying handle associated with basic_filebuf.
The behavior is undefined if is_open() is false.

Return value


rdbuf()->native_handle()

Notes


Feature-test macro Value Std Feature
__cpp_lib_fstream_native_handle 202306L (C++26) native handles support

Example


This section is incomplete
Reason: example

Category:


* Todo with reason

2024.06.10 http://cppreference.com