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:
//
BidiIterator begin()const;
BidiIterator end()const;
BidiIterator begin()const { return this->first; }
BidiIterator end()const { return this->second; }
#ifdef BOOST_OLD_REGEX_H

View File

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

View File

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