Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/io/basic fstream/native handle"

From cppreference.com
< cpp‎ | io‎ | basic fstream
(added C++26 p1759r6)
 
m (Notes: +FTM)
 
Line 1: Line 1:
 
{{cpp/io/basic_fstream/title |native_handle}}
 
{{cpp/io/basic_fstream/title |native_handle}}
 
{{cpp/io/basic_fstream/navbar}}
 
{{cpp/io/basic_fstream/navbar}}
{{dcl begin}}
+
{{|since=c++26|
{{dcl | since=c++26 |
+
 
native_handle_type native_handle() const noexcept;
 
native_handle_type native_handle() const noexcept;
 
}}
 
}}
{{dcl end}}
 
  
Returns the implementation defined underlying handle associated with {{tt|basic_filebuf}}. The behavior is undefined if {{c|is_open()}} is false.
+
Returns the implementation defined underlying handle associated with {{tt|basic_filebuf}}. The behavior is undefined if {{c|is_open()}} is false.
  
 
===Return value===
 
===Return value===
 
{{c|rdbuf()->native_handle()}}
 
{{c|rdbuf()->native_handle()}}
 +
 +
 +
  
 
===Example===
 
===Example===
 
{{todo|example}}
 
{{todo|example}}
 +
 +

Latest revision as of 05:49, 4 August 2023