X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=3rdparty%2Fboost%2Fboost%2Fregex%2Fv4%2Fu32regex_iterator.hpp;h=f8763a8d6a83b5f4fff2b462f6d6f239b57aee6e;hb=09130d7a622;hp=65ebd7f8ea5c0e04758259bbc5fa046281f410d8;hpb=b7a3831289aa542e309d8f645e68d6945f7ca292;p=lyx.git diff --git a/3rdparty/boost/boost/regex/v4/u32regex_iterator.hpp b/3rdparty/boost/boost/regex/v4/u32regex_iterator.hpp index 65ebd7f8ea..f8763a8d6a 100644 --- a/3rdparty/boost/boost/regex/v4/u32regex_iterator.hpp +++ b/3rdparty/boost/boost/regex/v4/u32regex_iterator.hpp @@ -72,14 +72,6 @@ private: template class u32regex_iterator -#ifndef BOOST_NO_STD_ITERATOR - : public std::iterator< - std::forward_iterator_tag, - match_results, - typename re_detail::regex_iterator_traits::difference_type, - const match_results*, - const match_results& > -#endif { private: typedef u32regex_iterator_implementation impl; @@ -87,7 +79,7 @@ private: public: typedef u32regex regex_type; typedef match_results value_type; - typedef typename re_detail::regex_iterator_traits::difference_type + typedef typename BOOST_REGEX_DETAIL_NS::regex_iterator_traits::difference_type difference_type; typedef const value_type* pointer; typedef const value_type& reference; @@ -166,7 +158,7 @@ inline u32regex_iterator make_u32regex_iterator(const wchar_t* p return u32regex_iterator(p, p+std::wcslen(p), e, m); } #endif -#if !defined(U_WCHAR_IS_UTF16) && (U_SIZEOF_WCHAR_T != 2) +#if !defined(BOOST_REGEX_UCHAR_IS_WCHAR_T) inline u32regex_iterator make_u32regex_iterator(const UChar* p, const u32regex& e, regex_constants::match_flag_type m = regex_constants::match_default) { return u32regex_iterator(p, p+u_strlen(p), e, m);