次の方法で共有


operator<< 演算子

ストリームに指定したオブジェクトに格納されたパスを記述します。

template<class Path>
inline basic_ostream<typename Path::string_type::value_type, typename Path::string_type::traits_type>& operator<<(
   basic_ostream<typename Path::string_type::value_type,
   typename Path::string_type::traits_type>& Ostr,
   Path Pval
);

パラメーター

  • Ostr
    basic_ostream オブジェクト。

  • Pval
    Path オブジェクト。 Path は、basic_path または basic_path から派生した型になります。

戻り値

basic_ostream オブジェクトへの参照。

必要条件

ヘッダー: filesystem

名前空間: std::tr2::sys

参照

関連項目

<filesystem>

basic_ostream::operator<<

その他の技術情報

C++ 標準ライブラリのヘッダー ファイル