forked from boostorg/regex
Reworked separate file template instantiation code, to use non-template forwarding functions instead - it works on more compilers that way.
[SVN r28295]
This commit is contained in:
1 parent
1d1fadeb5a
commit
112422adc9
2 files changed
+48
-26
No files matched your search
+27
-1
@@ -16,7 +16,6 @@
|
||||
* DESCRIPTION: entry point for test program.
|
||||
*/
|
||||
|
||||
#define BOOST_REGEX_TEST_INSTANCES
|
||||
#include "test.hpp"
|
||||
#include "test_locale.hpp"
|
||||
#include <stdarg.h>
|
||||
@@ -103,3 +102,30 @@ void throw_exception(std::exception const & e)
|
||||
|
||||
#endif
|
||||
|
||||
void test(const char& c, const test_regex_replace_tag& tag)
|
||||
{
|
||||
do_test(c, tag);
|
||||
}
|
||||
void test(const char& c, const test_regex_search_tag& tag)
|
||||
{
|
||||
do_test(c, tag);
|
||||
}
|
||||
void test(const char& c, const test_invalid_regex_tag& tag)
|
||||
{
|
||||
do_test(c, tag);
|
||||
}
|
||||
|
||||
#ifndef BOOST_NO_WREGEX
|
||||
void test(const wchar_t& c, const test_regex_replace_tag& tag)
|
||||
{
|
||||
do_test(c, tag);
|
||||
}
|
||||
void test(const wchar_t& c, const test_regex_search_tag& tag)
|
||||
{
|
||||
do_test(c, tag);
|
||||
}
|
||||
void test(const wchar_t& c, const test_invalid_regex_tag& tag)
|
||||
{
|
||||
do_test(c, tag);
|
||||
}
|
||||
#endif
|
||||
Reference in new issue
Block a user