initial_path 函数

返回当前工作目录在程序启动。

template<class Path>
inline Path initial_path();

返回值

在程序启动的当前工作目录。 Path 可以是 basic_path 或从 basic_path 派生的类型。

要求

标头: filesystem

命名空间: std::tr2::sys

请参见

参考

<filesystem>

其他资源

C++ 标准库头文件