Boost C++ Libraries: Ticket #11949: request for information https://svn.boost.org/trac10/ticket/11949 <p> This is not a bug notice but a request for information. Do you have an example of a directory listing using boost that is in alpha order? How do I modify the following code to do that? Can I pass boost a compare file as can be done in the C fts system? </p> <blockquote> <p> for (directory_entry&amp; x : directory_iterator(p)){ </p> <blockquote> <p> fullPathName = x.path().string(); cout ..... </p> </blockquote> <p> } </p> </blockquote> <p> or this way: </p> <blockquote> <p> directory_iterator end ; </p> </blockquote> <blockquote> <p> for( directory_iterator iter("../takes/test") ; iter != end ; ++iter ) { </p> <blockquote> <p> if ( !is_directory( *iter ) ){ </p> <blockquote> <p> cout &lt;&lt; iter-&gt;path() &lt;&lt; "\n"; </p> </blockquote> <p> } </p> </blockquote> <p> } </p> </blockquote> <p> thanks in advance. Please reply to David at dp25@… </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11949 Trac 1.4.3 anonymous Tue, 02 Feb 2016 07:04:37 GMT <link>https://svn.boost.org/trac10/ticket/11949#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11949#comment:1</guid> <description> <p> sorry I meant compare FUNCTION(!) </p> </description> <category>Ticket</category> </item> </channel> </rss>