basic_path::root_directory方法

如果它存在,则返回 根。

string_type root_directory() const;

返回值

根,因此,如果存在)。

备注

根 是杠。它将遵循选项标题,因此,其移到一个选项相对路径。

要求

标头: 文件系统

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

请参见

参考

basic_path选件类

<filesystem>