mirror of
https://github.com/boostorg/regex.git
synced 2025-07-15 21:32:18 +02:00
Added new iterator typedefs
[SVN r21148]
This commit is contained in:
@ -63,6 +63,13 @@ public:
|
|||||||
regex_iterator <A href="#o7">operator</A>++(int);
|
regex_iterator <A href="#o7">operator</A>++(int);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef regex_iterator<const char*> cregex_iterator;
|
||||||
|
typedef regex_iterator<std::string::const_iterator> sregex_iterator;
|
||||||
|
#ifndef BOOST_NO_WREGEX
|
||||||
|
typedef regex_iterator<const wchar_t*> wcregex_iterator;
|
||||||
|
typedef regex_iterator<std::wstring::const_iterator> wsregex_iterator;
|
||||||
|
#endif
|
||||||
|
|
||||||
</pre>
|
</pre>
|
||||||
<h3><a name="description"></a>Description</h3>
|
<h3><a name="description"></a>Description</h3>
|
||||||
<p>A regex_iterator is constructed from a pair of iterators, and enumerates all
|
<p>A regex_iterator is constructed from a pair of iterators, and enumerates all
|
||||||
|
@ -71,6 +71,13 @@ public:
|
|||||||
regex_token_iterator& <A href="#o6">operator</A>++();
|
regex_token_iterator& <A href="#o6">operator</A>++();
|
||||||
regex_token_iterator <A href="#o7">operator</A>++(int);
|
regex_token_iterator <A href="#o7">operator</A>++(int);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef regex_token_iterator<const char*> cregex_token_iterator;
|
||||||
|
typedef regex_token_iterator<std::string::const_iterator> sregex_token_iterator;
|
||||||
|
#ifndef BOOST_NO_WREGEX
|
||||||
|
typedef regex_token_iterator<const wchar_t*> wcregex_token_iterator;
|
||||||
|
typedef regex_token_iterator<<std::wstring::const_iterator> wsregex_token_iterator;
|
||||||
|
#endif
|
||||||
</PRE>
|
</PRE>
|
||||||
<H3><A name="description"></A>Description</H3>
|
<H3><A name="description"></A>Description</H3>
|
||||||
<PRE><A name=c1></A>regex_token_iterator();</PRE>
|
<PRE><A name=c1></A>regex_token_iterator();</PRE>
|
||||||
|
@ -63,6 +63,13 @@ public:
|
|||||||
regex_iterator <A href="#o7">operator</A>++(int);
|
regex_iterator <A href="#o7">operator</A>++(int);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef regex_iterator<const char*> cregex_iterator;
|
||||||
|
typedef regex_iterator<std::string::const_iterator> sregex_iterator;
|
||||||
|
#ifndef BOOST_NO_WREGEX
|
||||||
|
typedef regex_iterator<const wchar_t*> wcregex_iterator;
|
||||||
|
typedef regex_iterator<std::wstring::const_iterator> wsregex_iterator;
|
||||||
|
#endif
|
||||||
|
|
||||||
</pre>
|
</pre>
|
||||||
<h3><a name="description"></a>Description</h3>
|
<h3><a name="description"></a>Description</h3>
|
||||||
<p>A regex_iterator is constructed from a pair of iterators, and enumerates all
|
<p>A regex_iterator is constructed from a pair of iterators, and enumerates all
|
||||||
|
@ -71,6 +71,13 @@ public:
|
|||||||
regex_token_iterator& <A href="#o6">operator</A>++();
|
regex_token_iterator& <A href="#o6">operator</A>++();
|
||||||
regex_token_iterator <A href="#o7">operator</A>++(int);
|
regex_token_iterator <A href="#o7">operator</A>++(int);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef regex_token_iterator<const char*> cregex_token_iterator;
|
||||||
|
typedef regex_token_iterator<std::string::const_iterator> sregex_token_iterator;
|
||||||
|
#ifndef BOOST_NO_WREGEX
|
||||||
|
typedef regex_token_iterator<const wchar_t*> wcregex_token_iterator;
|
||||||
|
typedef regex_token_iterator<<std::wstring::const_iterator> wsregex_token_iterator;
|
||||||
|
#endif
|
||||||
</PRE>
|
</PRE>
|
||||||
<H3><A name="description"></A>Description</H3>
|
<H3><A name="description"></A>Description</H3>
|
||||||
<PRE><A name=c1></A>regex_token_iterator();</PRE>
|
<PRE><A name=c1></A>regex_token_iterator();</PRE>
|
||||||
|
Reference in New Issue
Block a user