Share via


remove 함수

Removes a file that has a specified path.

template<class Path>
inline bool remove(
   const Path& Pval
);

매개 변수

  • Pval
    Path 개체 Path는 basic_path 또는 basic_path에서 파생된 형식 중 하나일 수 있습니다.

반환 값

true if the file is removed; otherwise, false.

요구 사항

헤더: filesystem

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

참고 항목

참조

<filesystem>

기타 리소스

C++ 표준 라이브러리 헤더 파일