*directoryiterator using Boost
I'm trying to store the value that the iterator points to in a directory iterator as a string.
1 2
|
if( bfs::is_regular_file( *dirIter ))
x.name_ = *dirIter;
|
I'm using an object called file which has a string variable named name_.
Topic archived. No new replies allowed.