共用方式為


file_status::type 方法

設定或擷取儲存於中的 file_type

file_type type() const;
void type(
   file_type Ftype
);

參數

  • Ftype
    file_type

傳回值

第一個函式傳回儲存的 file_type

備註

第二個函式會將 Ftype 做為儲存的 file_type

需求

標題: filesystem

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

請參閱

參考

file_status 類別

<filesystem>