14#include <lagrange/fs/detail/guess_backend.h>
16#if defined(LAGRANGE_USE_STD_FS)
22using namespace std::filesystem;
23using ifstream = std::ifstream;
24using ofstream = std::ofstream;
25using fstream = std::fstream;
29#elif defined(LAGRANGE_USE_GHC_FS)
32#include <lagrange/utils/warnoff.h>
33#include <ghc/fs_fwd.hpp>
34#include <lagrange/utils/warnon.h>
39using namespace ghc::filesystem;
40using ifstream = ghc::filesystem::ifstream;
41using ofstream = ghc::filesystem::ofstream;
42using fstream = ghc::filesystem::fstream;
46#elif defined(LAGRANGE_USE_BOOST_FS)
48 #include <boost/filesystem.hpp>
49 #include <boost/filesystem/fstream.hpp>
53using namespace boost::filesystem;
54using boost::filesystem::fstream;
55using boost::filesystem::ifstream;
56using boost::filesystem::ofstream;
62 #error Impossible situation occurred. Either LAGRANGE_USE_STD_FS, LAGRANGE_USE_GHC_FS, or LAGRANGE_USE_BOOST_FS should be defined at this point
Main namespace for Lagrange.