compilation fix for BCC5.5

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2007-04-03 10:06:08 +00:00
parent b39fc8d7b1
commit 50eeb96fbe

View File

@ -721,14 +721,15 @@ public:
reverse_iterator_impl operator--(int)
{ reverse_iterator_impl tmp = *this; ++m_cur; return tmp; }
// NB: explicit <T> in the functions below is to keep BCC 5.5 happy
reverse_iterator_impl operator+(int n) const
{ return reverse_iterator_impl(m_cur - n); }
{ return reverse_iterator_impl<T>(m_cur - n); }
reverse_iterator_impl operator+(size_t n) const
{ return reverse_iterator_impl(m_cur - n); }
{ return reverse_iterator_impl<T>(m_cur - n); }
reverse_iterator_impl operator-(int n) const
{ return reverse_iterator_impl(m_cur + n); }
{ return reverse_iterator_impl<T>(m_cur + n); }
reverse_iterator_impl operator-(size_t n) const
{ return reverse_iterator_impl(m_cur + n); }
{ return reverse_iterator_impl<T>(m_cur + n); }
reverse_iterator_impl operator+=(int n)
{ m_cur -= n; return *this; }
reverse_iterator_impl operator+=(size_t n)