Namespaces
Variants
Views
Actions

std::basic_fstream<CharT,Traits>::native_handle

From cppreference.com
< cpp‎ | io‎ | basic fstream
Revision as of 08:42, 2 August 2023 by Cooky (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
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()

Example