regex regression test fixes

[SVN r8030]
This commit is contained in:
John Maddock
2000-10-21 11:18:50 +00:00
parent 5efb356b84
commit 74ca42eb88
2 changed files with 6 additions and 6 deletions

View File

@ -115,8 +115,8 @@ private:
int* blocks, *count;
jm_debug_alloc* guard;
public:
typedef size_t size_type;
typedef ptrdiff_t difference_type;
typedef std::size_t size_type;
typedef std::ptrdiff_t difference_type;
typedef char* pointer;
typedef const char* const_pointer;
typedef char& reference;
@ -182,7 +182,7 @@ public:
// class debug_iterator
//
template <class T>
struct debug_iterator : public BOOST_RE_RA_ITERATOR(T, ptrdiff_t)
struct debug_iterator : public BOOST_RE_RA_ITERATOR(T, std::ptrdiff_t)
{
typedef std::ptrdiff_t difference_type;
typedef char_t value_type;
@ -190,7 +190,7 @@ struct debug_iterator : public BOOST_RE_RA_ITERATOR(T, ptrdiff_t)
typedef char_t& reference;
typedef std::random_access_iterator_tag iterator_category;
typedef debug_iterator self;
typedef size_t size_type;
typedef std::size_t size_type;
T cur;
T first;

View File

@ -741,7 +741,7 @@ struct sub_match
}
return result;
}
#ifndef BOOST_OLD_REGEX_H
#ifdef BOOST_OLD_REGEX_H
//
// the following are deprecated, do not use!!
//
@ -774,7 +774,7 @@ struct sub_match
}
};
#ifndef BOOST_OLD_REGEX_H
#ifdef BOOST_OLD_REGEX_H
namespace re_detail{
template <class iterator, class charT>
int do_toi(iterator i, iterator j, char c, int radix)