Sha256: a6823fa03b3afa6553094b6ba1cfde5abc86b450bb2e4673a40b9bf716267d0d
Contents?: true
Size: 1.33 KB
Versions: 11
Compression:
Stored size: 1.33 KB
Contents
// Copyright (c) 2020-2022 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #ifndef TAO_PEGTL_INTERNAL_FILESYSTEM_HPP #define TAO_PEGTL_INTERNAL_FILESYSTEM_HPP #include "../config.hpp" #if defined( TAO_PEGTL_BOOST_FILESYSTEM ) #define BOOST_FILESYSTEM_NO_DEPRECATED #include <boost/filesystem.hpp> namespace TAO_PEGTL_NAMESPACE::internal { namespace filesystem = ::boost::filesystem; using error_code = ::boost::system::error_code; inline const auto& system_category() noexcept { return ::boost::system::system_category(); } } // namespace TAO_PEGTL_NAMESPACE::internal #elif defined( TAO_PEGTL_STD_EXPERIMENTAL_FILESYSTEM ) #include <experimental/filesystem> namespace TAO_PEGTL_NAMESPACE::internal { namespace filesystem = ::std::experimental::filesystem; using error_code = ::std::error_code; inline const auto& system_category() noexcept { return ::std::system_category(); } } // namespace TAO_PEGTL_NAMESPACE::internal #else #include <filesystem> namespace TAO_PEGTL_NAMESPACE::internal { namespace filesystem = ::std::filesystem; using error_code = ::std::error_code; inline const auto& system_category() noexcept { return ::std::system_category(); } } // namespace TAO_PEGTL_NAMESPACE::internal #endif #endif
Version data entries
11 entries across 11 versions & 1 rubygems