共用方式為


stem 函式

傳回指定之路徑的 縱線 。

template<class Path>
inline typename Path::string_type stem(
   const Path& Pval
);

參數

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

傳回值

含有指定路徑的 縱線 的 Path 物件。

備註

路徑的 縱線 是 分葉 的子字串等於但不包含最右邊的點。

需求

標題: 檔案系統

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

請參閱

參考

<filesystem>

basic_path::stem 方法

其他資源

標頭檔