// (C) Copyright John Maddock 2005. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #define BOOST_REGEX_TEST_STD #ifdef TEST_STD_HEADERS #include #else #include #endif #define BOOST_TEST_TR1_REGEX #include int main() { boost::function_requires< boost::RegexTraitsConcept< std::tr1::regex_traits > >(); boost::function_requires< boost::RegexConcept< std::tr1::basic_regex > >(); boost::function_requires< boost::RegexConcept< std::tr1::basic_regex > >(); // // now test the regex_traits concepts: // typedef std::tr1::basic_regex > regex_traits_tester_type1; boost::function_requires< boost::RegexConcept< regex_traits_tester_type1 > >(); return 0; }