question for use filesystem in vc++ with PPL

I have question for use filesystem in vc++ with PPL. The code is listed here: #include <ppl.h> #include <boost/filesystem.hpp> namespace fs = boost::filesystem; std::vector<std::string> vFiles; fs::path path(dir); fs::directory_iterator end_dir; Concurrency::parallel_for((fs::directory_iterator) (path), end_dir, [&](fs::directory_iterator it) { if(!(fs::is_directory(it->status()))) { vFiles.push_back(it->path().filename().string()); } }); But it build failed with message: Eerror C2653: 'fs' : is not a class or namespace name what is wrong? I use Visual Studio 2010. -- View this message in context: http://boost.2283326.n4.nabble.com/question-for-use-filesystem-in-vc-with-PP... Sent from the Boost - Users mailing list archive at Nabble.com.
participants (1)
-
young