
9 Feb
2011
9 Feb
'11
2:15 p.m.
recursive_directory_iterator currently always follows directory symlinks It seems to me that whether or not this behavior is desirable is application dependent. Thus I'd like to add an option to either following directory symlinks or not. Which should the default be? Following symlinks by default avoids breaking existing code, so that's my mild preference, but I'm wondering if anyone has a strong argument for not following directory symlinks by default? --Beman PS: Windows identifies symlinks to directories, so it is possible to have a dangling symlink to a non-existent directory. recursive_directory_iterator currently tries to recurse into the non-existent directory. That's just a bug and I'm about to fix it.