다음을 통해 공유


basic_path::root_name Method

Returns the prefix, if it exists.

string_type root_name() const;

Return Value

The prefix, if it exists.

Remarks

The prefix is an optional part of the file name. The prefix consists of the elements up to and including the first colon. It precedes an optional root and an optional relative path.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

basic_path Class

<filesystem>