Add missing function bodies for sub_match::begin/end and enhance tests.

This commit is contained in:
jzmaddock
2015-03-19 19:50:00 +00:00
parent eaeb38c7e9
commit 74d6318135
3 changed files with 12 additions and 5 deletions

View File

@ -165,8 +165,8 @@ public:
// //
// Make this type a range, for both Boost.Range, and C++11: // Make this type a range, for both Boost.Range, and C++11:
// //
BidiIterator begin()const; BidiIterator begin()const { return this->first; }
BidiIterator end()const; BidiIterator end()const { return this->second; }
#ifdef BOOST_OLD_REGEX_H #ifdef BOOST_OLD_REGEX_H

View File

@ -149,9 +149,9 @@ test-suite regex
: : : <test-info>always_show_run_output : test_collate_info ] : : : <test-info>always_show_run_output : test_collate_info ]
[ compile concepts/concept_check.cpp ] [ link concepts/concept_check.cpp ../build//boost_regex ]
[ compile concepts/icu_concept_check.cpp ] [ link concepts/icu_concept_check.cpp ../build//boost_regex ]
[ compile concepts/range_concept_check.cpp ] [ link concepts/range_concept_check.cpp ../build//boost_regex ]
[ run [ run
# sources # sources

View File

@ -154,4 +154,11 @@ int main()
return 0; return 0;
} }
#else
int main()
{
return 0;
}
#endif #endif