mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-06 09:16:33 +02:00
fixed to comparison operator in is_not_grater predicate
[SVN r33236]
This commit is contained in:
@ -144,7 +144,7 @@ namespace boost {
|
||||
template< typename T1, typename T2 >
|
||||
bool operator()( const T1& Arg1, const T2& Arg2 ) const
|
||||
{
|
||||
return Arg1>=Arg2;
|
||||
return Arg1<=Arg2;
|
||||
}
|
||||
};
|
||||
|
||||
@ -171,9 +171,9 @@ namespace boost {
|
||||
bool operator()( const T1& Arg1, const T2& Arg2 ) const
|
||||
{
|
||||
#if defined(__BORLANDC__) && (__BORLANDC__ >= 0x560) && (__BORLANDC__ <= 0x564) && !defined(_USE_OLD_RW_STL)
|
||||
return std::toupper(Arg1)>=std::toupper(Arg2);
|
||||
return std::toupper(Arg1)<=std::toupper(Arg2);
|
||||
#else
|
||||
return std::toupper(Arg1,m_Loc)>=std::toupper(Arg2,m_Loc);
|
||||
return std::toupper(Arg1,m_Loc)<=std::toupper(Arg2,m_Loc);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user