mirror of
https://github.com/boostorg/regex.git
synced 2025-07-20 07:42:07 +02:00
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:
|
// 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
|
||||||
|
@ -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
|
||||||
|
@ -154,4 +154,11 @@ int main()
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user