Subject: [Boost-bugs] [Boost C++ Libraries] #11949: request for information
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-02 05:29:14
#11949: request for information
------------------------------+----------------------------
Reporter: dp25@⦠| Owner: bemandawes
Type: Support Requests | Status: new
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.61.0 | Severity: Not Applicable
Keywords: |
------------------------------+----------------------------
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?
for (directory_entry& x : directory_iterator(p)){
fullPathName = x.path().string();
cout .....
}
or this way:
directory_iterator end ;
for( directory_iterator iter("../takes/test") ; iter != end ;
++iter ) {
if ( !is_directory( *iter ) ){
cout << iter->path() << "\n";
}
}
thanks in advance.
Please reply to David at dp25_at_[hidden]
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11949> 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:19 UTC