Files
regex/module/regex_wsfind.cpp
jzmaddock 2c0058a902 Hide key template instances behind factory functions.
And provide a separate "module library"
Update testing scripts.
2024-04-18 16:37:12 +01:00

27 lines
501 B
C++

#if defined(__cpp_lib_modules) || (defined(_MSC_FULL_VER) && (_MSC_FULL_VER >= 193933523))
#define BOOST_REGEX_USE_STD_MODULE
#endif
#ifndef BOOST_REGEX_USE_STD_MODULE
module;
#include <string>
#endif
module boost.regex;
#ifdef BOOST_REGEX_USE_STD_MODULE
import std;
#endif
namespace boost::re_detail_600 {
bool factory_find(perl_matcher<std::wstring::const_iterator, match_results<std::wstring::const_iterator>::allocator_type, wregex::traits_type>& m)
{
return m.find();
}
}