regex_fwd.hpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // detail/regex_fwd.hpp
  3. // ~~~~~~~~~~~~~~~~~~~~
  4. //
  5. // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
  6. //
  7. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  8. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  9. //
  10. #ifndef BOOST_ASIO_DETAIL_REGEX_FWD_HPP
  11. #define BOOST_ASIO_DETAIL_REGEX_FWD_HPP
  12. #if defined(_MSC_VER) && (_MSC_VER >= 1200)
  13. # pragma once
  14. #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
  15. #if defined(BOOST_ASIO_HAS_BOOST_REGEX)
  16. #include <boost/regex_fwd.hpp>
  17. #include <boost/version.hpp>
  18. #if BOOST_VERSION >= 107600
  19. # if defined(BOOST_REGEX_CXX03)
  20. # include <boost/regex/v4/match_flags.hpp>
  21. # else // defined(BOOST_REGEX_CXX03)
  22. # include <boost/regex/v5/match_flags.hpp>
  23. # endif // defined(BOOST_REGEX_CXX03)
  24. #else // BOOST_VERSION >= 107600
  25. # include <boost/regex/v4/match_flags.hpp>
  26. #endif // BOOST_VERSION >= 107600
  27. namespace boost {
  28. template <class BidiIterator>
  29. struct sub_match;
  30. template <class BidiIterator, class Allocator>
  31. class match_results;
  32. } // namespace boost
  33. #endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
  34. #endif // BOOST_ASIO_DETAIL_REGEX_FWD_HPP