basename 函式
傳回指定之路徑的 動詞命令是 。
template<class Path>
inline typename Path::string_type basename(
const Path& Pval
);
參數
- Pval
Path 物件。 Path 可以是 basic_path 或從 basic_path衍生型別 (Derived Type)。
傳回值
含有指定路徑的 動詞命令是 的 Path 物件。
備註
路徑的 動詞命令是 為 分葉節點。 的子字串不包含一般不包含最右邊的點。
需求
標題: 檔案系統
命名空間: std::tr2::sys