regex: fixed iterator definition so that it passes the SGI/boost concept checks.

[SVN r10214]
This commit is contained in:
John Maddock
2001-05-24 10:35:34 +00:00
parent 04b11fdd1c
commit bfb3ccc907
2 changed files with 4 additions and 3 deletions

View File

@ -333,7 +333,7 @@ public:
typedef const char* value_type;
typedef const char** pointer;
typedef const char*& reference;
typedef std::input_iterator_tag category;
typedef std::input_iterator_tag iterator_category;
file_iterator();
file_iterator(const char* wild);
@ -380,7 +380,7 @@ public:
typedef const char* value_type;
typedef const char** pointer;
typedef const char*& reference;
typedef std::input_iterator_tag category;
typedef std::input_iterator_tag iterator_category;
directory_iterator();
directory_iterator(const char* wild);
@ -443,3 +443,4 @@ using boost::re_detail::mapfile;

View File

@ -307,7 +307,7 @@ full list of macros and their usage.
# endif
#endif
#if defined(_REENTRANT) || defined(_PTHREADS)
#if (defined(_REENTRANT) || defined(_PTHREADS)) && !defined(_NOTHREADS)
//
// Several compilers define _REENTRANT or
// _PTHREADS when threading support is turned on: