forked from boostorg/regex
Add module support and tests. (#174)
This commit is contained in:
@ -19,15 +19,17 @@
|
||||
#ifndef BOOST_C_REGEX_TRAITS_HPP_INCLUDED
|
||||
#define BOOST_C_REGEX_TRAITS_HPP_INCLUDED
|
||||
|
||||
#ifndef BOOST_REGEX_AS_MODULE
|
||||
#include <cctype>
|
||||
#include <cstdint>
|
||||
#include <cwctype>
|
||||
#endif
|
||||
|
||||
#include <boost/regex/config.hpp>
|
||||
#include <boost/regex/v5/regex_workaround.hpp>
|
||||
#include <boost/regex/v5/primary_transform.hpp>
|
||||
#include <boost/regex/v5/regex_traits_defaults.hpp>
|
||||
|
||||
#include <cctype>
|
||||
#include <cstdint>
|
||||
#include <cwctype>
|
||||
|
||||
namespace boost{
|
||||
|
||||
namespace BOOST_REGEX_DETAIL_NS {
|
||||
@ -54,10 +56,10 @@ namespace boost{
|
||||
|
||||
}
|
||||
|
||||
template <class charT>
|
||||
BOOST_REGEX_MODULE_EXPORT template <class charT>
|
||||
struct c_regex_traits;
|
||||
|
||||
template<>
|
||||
BOOST_REGEX_MODULE_EXPORT template<>
|
||||
struct c_regex_traits<char>
|
||||
{
|
||||
c_regex_traits(){}
|
||||
@ -102,7 +104,7 @@ private:
|
||||
};
|
||||
|
||||
#ifndef BOOST_NO_WREGEX
|
||||
template<>
|
||||
BOOST_REGEX_MODULE_EXPORT template<>
|
||||
struct c_regex_traits<wchar_t>
|
||||
{
|
||||
c_regex_traits(){}
|
||||
|
Reference in New Issue
Block a user