Fixed nasty non-greedy repeat bug,

tidied up min/max workarounds,
removed unneeded #if


[SVN r22422]
This commit is contained in:
John Maddock
2004-03-02 16:58:50 +00:00
parent 3075aaba4a
commit 89515b9a8e
3 changed files with 38 additions and 21 deletions

View File

@ -51,11 +51,7 @@ template <class BidirectionalIterator,
class regex_token_iterator_implementation
{
typedef basic_regex<charT, traits, Allocator> regex_type;
#if 1
typedef sub_match<BidirectionalIterator> value_type;
#else
typedef std::basic_string<charT> value_type;
#endif
match_results<BidirectionalIterator> what; // current match
BidirectionalIterator end; // end of search area