mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-03 15:56:38 +02:00
@ -136,14 +136,10 @@ namespace boost {
|
|||||||
// comparison
|
// comparison
|
||||||
bool equal( const find_iterator& Other ) const
|
bool equal( const find_iterator& Other ) const
|
||||||
{
|
{
|
||||||
return
|
return eof() || Other.eof() ? eof() == Other.eof() :
|
||||||
(
|
(
|
||||||
m_Match==Other.m_Match &&
|
m_Match==Other.m_Match &&
|
||||||
m_End==Other.m_End
|
m_End==Other.m_End
|
||||||
)
|
|
||||||
||
|
|
||||||
(
|
|
||||||
eof() && Other.eof()
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -301,15 +297,11 @@ namespace boost {
|
|||||||
// comparison
|
// comparison
|
||||||
bool equal( const split_iterator& Other ) const
|
bool equal( const split_iterator& Other ) const
|
||||||
{
|
{
|
||||||
return
|
return eof() || Other.eof() ? eof() == Other.eof() :
|
||||||
(
|
(
|
||||||
m_Match==Other.m_Match &&
|
m_Match==Other.m_Match &&
|
||||||
m_Next==Other.m_Next &&
|
m_Next==Other.m_Next &&
|
||||||
m_End==Other.m_End
|
m_End==Other.m_End
|
||||||
)
|
|
||||||
||
|
|
||||||
(
|
|
||||||
eof() && Other.eof()
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user