c++ - How to insert values from boost::filesystem::directory_iterator() to a map -


std::copy(boost::filesystem::directory_iterator(paths),  boost::filesystem::directory_iterator(), // directory_iterator::value_type std::ostream_iterator<boost::filesystem::directory_entry>(std::cout, "\n"));" 

the above code return files in directory. need add file names map.

paths --->boost::filesystem::path


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -