From: Ákos Maróy (akos_at_[hidden])
Date: 2008-09-01 12:05:01


Is there an easy / elegant way to remove directory contents recursively
using boost::filesystem? I see that there's a create_directories()
convenience function, but there's no such convenience function for
removing a directory and all its contents.

moreover, recursive_directory_iterator() does not return an iterator
that contains the directory contens in the order suitable for removal :(

I wonder if there's an easy / elegant way to do this?

Akos