Export (0) Print
Expand All

remove_all Function

Removes the file or directory that has the specified path.

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


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

© 2015 Microsoft