다음을 통해 공유


basic_path::branch_path 메서드

Retrieves the parent path of the basic_path object.

basic_path branch_path() const;

반환 값

A basic_path object that contains the stored file name up to, but not including, its final component. Extra slashes are removed.

설명

A file name component is one of these:

  • A prefix that consists of all elements up to and including the first colon.

  • A root that consists of a single slash.

  • A slash-delimited path element.

요구 사항

헤더: filesystem

네임스페이스: std::tr2::sys

참고 항목

참조

basic_path 클래스

<filesystem>