Share via


basic_path::root_path Method

Retrieves the root path of the stored file name.

basic_path root_path() const;

Return Value

A basic_path object that contains the root path.

Remarks

A root path combines the prefix of the file name together with the root.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

basic_path Class

<filesystem>