forked from boostorg/regex
Changed char_type to be the type used by the regex object not the iterator - allows code to compile where the iterator enumerates types that are different to the regex type.
[SVN r20228]
This commit is contained in:
@ -271,7 +271,7 @@ template <class BidiIterator, class Allocator, class traits, class Allocator2>
|
||||
class perl_matcher
|
||||
{
|
||||
public:
|
||||
typedef typename boost::re_detail::regex_iterator_traits<BidiIterator>::value_type char_type;
|
||||
typedef typename traits::char_type char_type;
|
||||
typedef perl_matcher<BidiIterator, Allocator, traits, Allocator2> self_type;
|
||||
typedef bool (self_type::*matcher_proc_type)(void);
|
||||
typedef access_t<char_type, traits, Allocator2> access;
|
||||
|
Reference in New Issue
Block a user