Boost.Filesystem crashes?

Windows does not allow you to look inside the directory "System Volume Information". So unleashing a recursive_directory_iterator on "System Volume Information" is a bad idea.

Windows does not allow you to look inside the directory "System Volume Information". So unleashing a recursive_directory_iterator on "System Volume Information" is a bad idea. Edit: You may be able to solve the problem with recursive_directory_iterator::no_push().

From The Boost docs: void no_push(bool value=true); Requires: *this! = recursive_directory_iterator(). Postcondition: no_push_pending() == value.

Throws: Nothing. Note: no_push() is used to prevent unwanted recursion into a directory. --end note.

You should call no_push() before moving to the next iterator. Pseudo code: if(*it is a directory that I want to skip) it. No_push(); ++it.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions