forked from boostorg/regex
Fixed Conflicts: include/boost/regex/config.hpp Also fix up msvc build failures. Example now build with msvc or with clang. The build script is still hopelessly broken though.
72 lines
1.3 KiB
C++
72 lines
1.3 KiB
C++
|
|
module;
|
|
|
|
#if defined(_WIN32) && __has_include(<windows.h>)
|
|
//
|
|
// This has to appear *before* import std; otherwise the compiler chokes.
|
|
//
|
|
#include <windows.h>
|
|
#endif
|
|
|
|
#ifdef __cpp_lib_modules
|
|
import std;
|
|
#elif defined(MSVC_EXPERIMENTAL_STD_MODULE)
|
|
import std.core;
|
|
#else
|
|
#include <cassert>
|
|
#include <cstdint>
|
|
#include <climits>
|
|
#include <cctype>
|
|
#include <cstddef>
|
|
#include <cwctype>
|
|
#include <climits>
|
|
#include <cstring>
|
|
|
|
#include <vector>
|
|
#include <set>
|
|
#include <locale>
|
|
#include <type_traits>
|
|
#include <ios>
|
|
#include <istream>
|
|
#include <functional>
|
|
#include <iterator>
|
|
#include <new>
|
|
#include <atomic>
|
|
#include <memory>
|
|
#include <map>
|
|
#include <list>
|
|
#include <stdexcept>
|
|
#include <string>
|
|
#include <functional>
|
|
#include <algorithm>
|
|
#include <locale>
|
|
#include <limits>
|
|
#include <cstdint>
|
|
#include <sstream>
|
|
#include <ios>
|
|
#ifdef BOOST_HAS_THREADS
|
|
#include <mutex>
|
|
#endif
|
|
#endif
|
|
|
|
#include <cwctype>
|
|
#include <assert.h>
|
|
|
|
#if __has_include(<unicode/utypes.h>)
|
|
#include <unicode/utypes.h>
|
|
#include <unicode/uchar.h>
|
|
#include <unicode/coll.h>
|
|
#endif
|
|
|
|
#define BOOST_REGEX_AS_MODULE
|
|
#define BOOST_REGEX_STANDALONE
|
|
#define BOOST_REGEX_MODULE_EXPORT export
|
|
|
|
export module boost.regex;
|
|
|
|
#include <boost/regex.hpp>
|
|
|
|
#if __has_include(<unicode/utypes.h>)
|
|
#include <boost/regex/icu.hpp>
|
|
#endif
|