last_write_time 函式
判斷指定的檔案的最後寫入時間。
template<class Path>
inline time_t last_write_time(
const Path& Pval
);
參數
- Pval
Path 物件。 Path 可以是 basic_path 或衍生自 basic_path 的型別。
傳回值
保留檔案的最後寫入時間由 Pval指定的 time_t 值則為 0,如果時間無法判斷的。
需求
標題: filesystem
命名空間: std::tr2::sys