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 11 #ifndef BOOST_ASIO_DETAIL_REGEX_FWD_HPP 12 #define BOOST_ASIO_DETAIL_REGEX_FWD_HPP 13 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 15 # pragma once 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 17 18 #if defined(BOOST_ASIO_HAS_BOOST_REGEX) 19 20 #include <boost/regex_fwd.hpp> 21 #include <boost/version.hpp> 22 #if BOOST_VERSION >= 107600 23 # if defined(BOOST_REGEX_CXX03) 24 # include <boost/regex/v4/match_flags.hpp> 25 # else // defined(BOOST_REGEX_CXX03) 26 # include <boost/regex/v5/match_flags.hpp> 27 # endif // defined(BOOST_REGEX_CXX03) 28 #else // BOOST_VERSION >= 107600 29 # include <boost/regex/v4/match_flags.hpp> 30 #endif // BOOST_VERSION >= 107600 31 32 namespace boost { 33 34 template <class BidiIterator> 35 struct sub_match; 36 37 template <class BidiIterator, class Allocator> 38 class match_results; 39 40 } // namespace boost 41 42 #endif // defined(BOOST_ASIO_HAS_BOOST_REGEX) 43 44 #endif // BOOST_ASIO_DETAIL_REGEX_FWD_HPP 45