共用方式為


space 函式

擷取所指定的大小的資訊。

template<class Path>
inline space_info space(
   const Path& Pval
);

參數

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

傳回值

space_info 這個 struct 相關聯之容量的資訊。 如果沒有可以決定的, struct 的每個資料成員的值是 0。

需求

標題: 檔案系統

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

請參閱

參考

<filesystem>

其他資源

標頭檔