Re: [Boost-bugs] [Boost C++ Libraries] #8946: filesystem::directory_iterator returns incorrect listing

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8946: filesystem::directory_iterator returns incorrect listing
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-07 08:26:09


#8946: filesystem::directory_iterator returns incorrect listing
-------------------------------+--------------------------------
  Reporter: l.alebarde@… | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords: directory_iterator
-------------------------------+--------------------------------

Comment (by l.alebarde@…):

 Thanks nikita. The documentation should be modified then
 ([http://www.boost.org/doc/libs/1_49_0/libs/filesystem/v3/doc/reference.html
 #Class-directory_iterator]):

 {{{
 To iterate over the current directory, use directory_iterator(".")
 }}}

 This lead me to increment first the iterator.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8946#comment:4>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC