Add |operator!=()| implementation, conditioned on HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL. r=scc

This commit is contained in:
waterson%netscape.com 2000-04-04 06:42:59 +00:00
Родитель ffd3579926
Коммит 2831f7bd1b
6 изменённых файлов: 36 добавлений и 3 удалений

Просмотреть файл

@ -393,7 +393,8 @@ operator==( const nsReadingIterator<CharT>& lhs, const nsReadingIterator<CharT>&
{
return lhs.operator->() == rhs.operator->();
}
#if 0
#ifdef HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL
template <class CharT>
inline
PRBool

Просмотреть файл

@ -364,6 +364,16 @@ operator==( const nsWritingIterator<CharT>& lhs, const nsWritingIterator<CharT>&
return lhs.operator->() == rhs.operator->();
}
#ifdef HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL
template <class CharT>
inline
PRBool
operator!=( const nsWritingIterator<CharT>& lhs, const nsWritingIterator<CharT>& rhs )
{
return lhs.operator->() != rhs.operator->();
}
#endif
//

Просмотреть файл

@ -393,7 +393,8 @@ operator==( const nsReadingIterator<CharT>& lhs, const nsReadingIterator<CharT>&
{
return lhs.operator->() == rhs.operator->();
}
#if 0
#ifdef HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL
template <class CharT>
inline
PRBool

Просмотреть файл

@ -364,6 +364,16 @@ operator==( const nsWritingIterator<CharT>& lhs, const nsWritingIterator<CharT>&
return lhs.operator->() == rhs.operator->();
}
#ifdef HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL
template <class CharT>
inline
PRBool
operator!=( const nsWritingIterator<CharT>& lhs, const nsWritingIterator<CharT>& rhs )
{
return lhs.operator->() != rhs.operator->();
}
#endif
//

Просмотреть файл

@ -393,7 +393,8 @@ operator==( const nsReadingIterator<CharT>& lhs, const nsReadingIterator<CharT>&
{
return lhs.operator->() == rhs.operator->();
}
#if 0
#ifdef HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL
template <class CharT>
inline
PRBool

Просмотреть файл

@ -364,6 +364,16 @@ operator==( const nsWritingIterator<CharT>& lhs, const nsWritingIterator<CharT>&
return lhs.operator->() == rhs.operator->();
}
#ifdef HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL
template <class CharT>
inline
PRBool
operator!=( const nsWritingIterator<CharT>& lhs, const nsWritingIterator<CharT>& rhs )
{
return lhs.operator->() != rhs.operator->();
}
#endif
//