basic_path::extension 메서드

Returns the extension of the stored file name, if it exists.

string_type extension() const;

반환 값

The substring of leaf that begins with the rightmost dot, or an empty string if no such substring exists.

요구 사항

헤더: filesystem

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

참고 항목

참조

basic_path 클래스

<filesystem>