path_traits.hpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // filesystem path_traits.hpp --------------------------------------------------------//
  2. // Copyright Beman Dawes 2009
  3. // Copyright Andrey Semashev 2022
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // See http://www.boost.org/LICENSE_1_0.txt
  6. // Library home page: http://www.boost.org/libs/filesystem
  7. #ifndef BOOST_FILESYSTEM_PATH_TRAITS_HPP
  8. #define BOOST_FILESYSTEM_PATH_TRAITS_HPP
  9. #include <boost/filesystem/config.hpp>
  10. #if !defined(BOOST_FILESYSTEM_DEPRECATED) && !defined(BOOST_FILESYSTEM_ALLOW_DEPRECATED)
  11. #include <boost/config/header_deprecated.hpp>
  12. BOOST_HEADER_DEPRECATED("your own implementation")
  13. #endif
  14. #if !defined(BOOST_FILESYSTEM_NO_DEPRECATED)
  15. #include <boost/filesystem/detail/path_traits.hpp>
  16. #include <boost/filesystem/detail/header.hpp> // must be the last #include
  17. namespace boost {
  18. namespace filesystem {
  19. namespace path_traits = boost::filesystem::detail::path_traits;
  20. } // namespace filesystem
  21. } // namespace boost
  22. #include <boost/filesystem/detail/footer.hpp>
  23. #endif // !defined(BOOST_FILESYSTEM_NO_DEPRECATED)
  24. #endif // BOOST_FILESYSTEM_PATH_TRAITS_HPP