2024-04-18 16:37:12 +01:00
|
|
|
|
2024-04-18 20:02:16 +01:00
|
|
|
module;
|
|
|
|
|
|
2024-04-19 13:28:21 +01:00
|
|
|
#if defined(__cpp_lib_modules) || (defined(_MSC_FULL_VER) && (_MSC_FULL_VER >= 193833135))
|
2024-04-18 16:37:12 +01:00
|
|
|
#define BOOST_REGEX_USE_STD_MODULE
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef BOOST_REGEX_DETAIL_NS
|
|
|
|
|
#define BOOST_REGEX_DETAIL_NS re_detail_600
|
|
|
|
|
#endif
|
|
|
|
|
|
2024-04-19 12:23:50 +01:00
|
|
|
#if !defined(BOOST_REGEX_USE_STD_MODULE) && !defined(MSVC_EXPERIMENTAL_STD_MODULE)
|
2024-04-18 20:02:16 +01:00
|
|
|
#include <memory>
|
|
|
|
|
#endif
|
|
|
|
|
|
2024-04-18 16:37:12 +01:00
|
|
|
module boost.regex;
|
|
|
|
|
|
2024-04-19 13:19:09 +01:00
|
|
|
#if !defined(BOOST_REGEX_USE_STD_MODULE) && defined(MSVC_EXPERIMENTAL_STD_MODULE)
|
|
|
|
|
import std.core;
|
|
|
|
|
#endif
|
|
|
|
|
|
2024-04-18 16:37:12 +01:00
|
|
|
namespace boost::detail {
|
|
|
|
|
|
|
|
|
|
std::shared_ptr<BOOST_REGEX_DETAIL_NS::basic_regex_implementation<char, basic_regex<char>::traits_type> >
|
|
|
|
|
create_implemenation(const char* p1, const char* p2, basic_regex<char>::flag_type f, std::shared_ptr<boost::regex_traits_wrapper<basic_regex<char>::traits_type> > ptraits)
|
|
|
|
|
{
|
|
|
|
|
return create_implemenation<char, basic_regex<char>::flag_type, basic_regex<char>::traits_type>(p1, p2, f, ptraits);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|