std::basic_filebuf<CharT,Traits>::native_handle
来自 cppreference.cn
< cpp | io | basic filebuf
native_handle_type native_handle() const noexcept; |
(since C++26) | |
返回与 *this 关联的实现定义的底层句柄。如果 is_open() 为 false,则行为未定义。
[edit] 返回值
实现定义的句柄。
[edit] 注释
Feature-test macro | 值 | Std | 特性 |
---|---|---|---|
__cpp_lib_fstream_native_handle |
202306L |
(C++26) | native handles support |
[edit] 示例
本节尚不完整 原因:示例 |