From a247f4d7f80c0d1eeeb43e02e4bb1563198b5eee Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 5 Dec 2003 13:00:59 +0000 Subject: [PATCH] Added new typedefs for iterator types [SVN r21146] --- include/boost/regex/v4/regex_iterator.hpp | 7 +++++++ include/boost/regex/v4/regex_token_iterator.hpp | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/include/boost/regex/v4/regex_iterator.hpp b/include/boost/regex/v4/regex_iterator.hpp index 9ef1dbab..084e572a 100644 --- a/include/boost/regex/v4/regex_iterator.hpp +++ b/include/boost/regex/v4/regex_iterator.hpp @@ -148,6 +148,13 @@ private: } }; +typedef regex_iterator cregex_iterator; +typedef regex_iterator sregex_iterator; +#ifndef BOOST_NO_WREGEX +typedef regex_iterator wcregex_iterator; +typedef regex_iterator wsregex_iterator; +#endif + #ifdef BOOST_HAS_ABI_HEADERS # include BOOST_ABI_SUFFIX #endif diff --git a/include/boost/regex/v4/regex_token_iterator.hpp b/include/boost/regex/v4/regex_token_iterator.hpp index eb4dc68d..9db2ad45 100644 --- a/include/boost/regex/v4/regex_token_iterator.hpp +++ b/include/boost/regex/v4/regex_token_iterator.hpp @@ -284,6 +284,13 @@ private: } }; +typedef regex_token_iterator cregex_token_iterator; +typedef regex_token_iterator sregex_token_iterator; +#ifndef BOOST_NO_WREGEX +typedef regex_token_iterator wcregex_token_iterator; +typedef regex_token_iterator wsregex_token_iterator; +#endif + #if BOOST_WORKAROUND(BOOST_MSVC, == 1310) # pragma warning(pop) #endif