forked from boostorg/regex
Add missing function bodies for sub_match::begin/end and enhance tests.
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
@ -154,4 +154,11 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user