Added new typedefs for iterator types

[SVN r21146]
This commit is contained in:
John Maddock
2003-12-05 13:00:59 +00:00
parent 84c2228b3f
commit a247f4d7f8
2 changed files with 14 additions and 0 deletions

View File

@ -148,6 +148,13 @@ private:
} }
}; };
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
#ifdef BOOST_HAS_ABI_HEADERS #ifdef BOOST_HAS_ABI_HEADERS
# include BOOST_ABI_SUFFIX # include BOOST_ABI_SUFFIX
#endif #endif

View File

@ -284,6 +284,13 @@ private:
} }
}; };
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
#if BOOST_WORKAROUND(BOOST_MSVC, == 1310) #if BOOST_WORKAROUND(BOOST_MSVC, == 1310)
# pragma warning(pop) # pragma warning(pop)
#endif #endif