Go to the documentation of this file.
36 #ifndef BOOSTFILESYSTEM_HPP_
37 #define BOOSTFILESYSTEM_HPP_
46 #include <boost/version.hpp>
48 #if BOOST_VERSION <= 104900
50 #define BOOST_FILESYSTEM_VERSION 2
52 #define PATH_LEAF_NAME(path) path.leaf()
55 #define PATH_LEAF_NAME(path) path.leaf().string()
65 #if BOOST_VERSION <= 105600
67 #define BOOST_NO_CXX11_SCOPED_ENUMS
68 #include <boost/filesystem.hpp>
69 #undef BOOST_NO_CXX11_SCOPED_ENUMS
71 #include <boost/filesystem.hpp>
73 #include <boost/filesystem/fstream.hpp>
75 namespace fs = boost::filesystem;
77 #endif // BOOSTFILESYSTEM_HPP_