mirror of
https://github.com/boostorg/regex.git
synced 2025-07-16 22:02:08 +02:00
regex: fixed iterator definition so that it passes the SGI/boost concept checks.
[SVN r10214]
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user