1 // (C) Copyright John Maddock 2005.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #define BOOST_REGEX_TEST_STD
8 #ifdef TEST_STD_HEADERS
11 #include <boost/tr1/regex.hpp>
13 #define BOOST_TEST_TR1_REGEX
14 #include <boost/regex/concepts.hpp>
18 boost::function_requires
<
19 boost::RegexTraitsConcept
<
20 std::tr1::regex_traits
<char>
24 boost::function_requires
<
26 std::tr1::basic_regex
<char>
30 boost::function_requires
<
32 std::tr1::basic_regex
<wchar_t>
37 // now test the regex_traits concepts:
39 typedef std::tr1::basic_regex
<char, boost::regex_traits_architype
<char> > regex_traits_tester_type1
;
40 boost::function_requires
<
42 regex_traits_tester_type1