共用方式為


運算子 >> 運算子

從指定的 basic_istream 物件擷取資料。

template<class Path>
inline basic_istream<typename _Path::string_type::value_type, typename Path::string_type::traits_type>& operator>>(
   basic_istream<typename Path::string_type::value_type,
   typename Path::string_type::traits_type>& Istr,
   Path& Pval
);

參數

  • Istr
    basic_istream 物件。

  • Pval
    Path 物件。 Path 可以是 basic_path 或衍生自 basic_path的型別。

傳回值

Istr

備註

此運算子會從 Istr擷取型別 Path::string_type 的物件。 如果擷取成功,這個值被指派給 Pval。

需求

標題: 檔案系統

命名空間: std::tr2::sys

請參閱

參考

<filesystem>

其他資源

標頭檔