다음을 통해 공유


remove_filename Function

Removes a file that has a specified path.

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

Parameters

  • Pval
    A Path object. Path can be either a basic_path or a type that is 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