Ticket #6821: fs_bug.cpp

File fs_bug.cpp, 278 bytes (added by Gary Sanders <lex21@…>, 11 years ago)

source code

Line 
1#include <iostream>
2#include <boost/filesystem.hpp>
3
4int main()
5{
6 try
7 {
8 for (boost::filesystem::recursive_directory_iterator i("c:\\"), end; i != end; ++i)
9 ;
10 }
11 catch (const std::exception& e)
12 {
13 std::cout << e.what() << std::endl;
14 }
15
16 return 0;
17}
18