initial_path功能

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

template<class Path>
inline Path initial_path();

返回值

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

要求

**标头:**文件系统

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

请参见

参考

<filesystem>

其他资源

标头文件