module; #if defined(__cpp_lib_modules) || (defined(_MSC_FULL_VER) && (_MSC_FULL_VER >= 193833135)) #define BOOST_REGEX_USE_STD_MODULE #endif #if __has_include() #if !defined(BOOST_REGEX_WITH_ICU) #if defined(_MSC_FULL_VER) #pragma message "ICU headers are available but building the Regex module with ICU support is turned OFF. Build with BOOST_REGEX_WITH_ICU=1 to turn it on, or BOOST_REGEX_WITH_ICU=0 to disable this message" #else # warning "ICU headers are available but building the Regex module with ICU support is turned OFF. Build with BOOST_REGEX_WITH_ICU=1 to turn it on, or BOOST_REGEX_WITH_ICU=0 to disable this message" #endif #elif BOOST_REGEX_WITH_ICU # define BOOST_REGEX_HAS_ICU_HEADERS #endif #endif #if defined(_WIN32) && __has_include() #include #endif #if !defined(BOOST_REGEX_USE_STD_MODULE) && !defined(MSVC_EXPERIMENTAL_STD_MODULE) #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef BOOST_HAS_THREADS #include #endif #include #include #endif #if !defined(BOOST_REGEX_USE_STD_MODULE) && defined(MSVC_EXPERIMENTAL_STD_MODULE) #include #include #endif #ifdef BOOST_REGEX_HAS_ICU_HEADERS #include #include #include #endif #define BOOST_REGEX_AS_MODULE #define BOOST_REGEX_STANDALONE #define BOOST_REGEX_MODULE_EXPORT export export module boost.regex; #if defined(BOOST_REGEX_USE_STD_MODULE) import std; #elif defined(MSVC_EXPERIMENTAL_STD_MODULE) import std.core; #endif #ifdef _MSC_FULL_VER #pragma warning(disable:5244) #endif #ifdef __clang__ #pragma clang diagnostic ignored "-Winclude-angled-in-module-purview" #endif #include #ifdef BOOST_REGEX_HAS_ICU_HEADERS #include #endif