|
Boost Users : |
Subject: [Boost-users] I search information about directory_iterator
From: Andy (borucki.andrzej_at_[hidden])
Date: 2018-02-15 16:24:31
I have:
#include <boost/filesystem.hpp>
namespace fs=boost::filesystem;
for (auto& de : fs::directory_iterator("D:\\prog\\alg\\Diff"))
{
fs::path p = de.path();
auto ext = fs::extension(p);
}
directory_iterator is object or non-objective method?
How can I write something similar, but database iterator.
I want get information from mySQL. The simplest way is add everything
returning by select to vector of vector of string.
But I prefer database iterator. How it write? How is in general
directory_iterator as a iterator model?
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