diff --git a/test/concepts/concept_check.cpp b/test/concepts/concept_check.cpp index 1e7e5be5..266362cc 100644 --- a/test/concepts/concept_check.cpp +++ b/test/concepts/concept_check.cpp @@ -30,7 +30,14 @@ int main() // don't bother testing as it doesn't work: #if !BOOST_WORKAROUND(_MSC_VER, < 1310) typedef boost::bidirectional_iterator_archetype iterator_type; + typedef boost::input_iterator_archetype input_iterator_type; + input_iterator_type i, j; +#if!defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(__IBMCPP__) + boost::regex r(i, j); + r.assign(i, j); +#else boost::regex r; +#endif iterator_type a, b; boost::detail::dummy_constructor dummy; boost::output_iterator_archetype out(dummy); diff --git a/test/concepts/wide_concept_check.cpp b/test/concepts/wide_concept_check.cpp index 52f2031d..0e4f2559 100644 --- a/test/concepts/wide_concept_check.cpp +++ b/test/concepts/wide_concept_check.cpp @@ -30,7 +30,14 @@ int main() // don't bother testing as it doesn't work: #if !BOOST_WORKAROUND(_MSC_VER, < 1310) typedef boost::bidirectional_iterator_archetype iterator_type; + typedef boost::input_iterator_archetype input_iterator_type; + input_iterator_type i, j; +#if!defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(__IBMCPP__) + boost::wregex r(i, j); + r.assign(i, j); +#else boost::wregex r; +#endif iterator_type a, b; boost::detail::dummy_constructor dummy; boost::output_iterator_archetype out(dummy);