다음을 통해 공유


remove Function

Removes a file that has a specified path.

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

Parameters

  • Pval
    A Path object. Path can be either a basic_path or a type that's derived from basic_path.

Return Value

true if the file is removed; otherwise, false.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

<filesystem>

Other Resources

C++ Standard Library Header Files