Boost logo

Boost Users :

From: dizzy (dizzy_at_[hidden])
Date: 2008-04-16 04:32:38


On Tuesday 15 April 2008 15:44:49 Ovanes Markarian wrote:
> This is what I was going to mention in my post with . and .. special
> directories. With the approach used the infinite loop should happen already
> with the first occurence of .-directory, which would recurse in the same
> directory and find the first item (.-dir again).

No because boost::filesystem directory iterators do not expose (ie
automatically skip) "." and "..".

-- 
Mihai RUSU					Email: dizzy_at_[hidden]
			"Linux is obsolete" -- AST

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net