Namespaces
Variants

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

From cppreference.net
native_handle_type native_handle ( ) const noexcept ;
(C++26以降)

* this に関連付けられた実装定義の基盤となるハンドルを返します。 is_open ( ) false の場合、動作は未定義です。

戻り値

実装定義ハンドル。

注記

機能テスト マクロ 標準 機能
__cpp_lib_fstream_native_handle 202306L (C++26) ネイティブハンドルサポート