remove_all Function

Removes the file or directory that has the specified path.

template<class Path>
inline unsigned long remove_all(
   const Path& Pval
);

Pval

A Path object. Path can be either a path or a type that is derived from path.

The number of files that are removed.

If Pval refers to a directory, the function recursively removes all subdirectories and files in the directory.

Header: filesystem

Namespace: std::tr2::sys

Show: