Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the file or directory that has the specified path.
template<class Path>
inline unsigned long remove_all(
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
The number of files that are removed.
Remarks
If Pval refers to a directory, the function recursively removes all subdirectories and files in the directory.
Requirements
Header: filesystem
Namespace: std::tr2::sys