11 #ifndef __UT_COMPARE_H_INCLUDED__
12 #define __UT_COMPARE_H_INCLUDED__
29 {
return myCompare(&lhs, &rhs) < 0; }
41 {
return myCompare(&lhs, &rhs) > 0; }
53 {
return myCompare(&lhs, &rhs) == 0; }
84 #endif // __UT_COMPARE_H_INCLUDED__
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
int(*)(const T *, const T *) Ternary
bool operator()(const T &lhs, const T &rhs)
UT_Compare::Greater< T > UTcompareGreater(UT_Compare::Ternary< T > compare)
CompareResults OIIO_API compare(const ImageBuf &A, const ImageBuf &B, float failthresh, float warnthresh, ROI roi={}, int nthreads=0)
Equal(Ternary< T > compare)
Less(Ternary< T > compare)
UT_Compare::Less< T > UTcompareLess(UT_Compare::Ternary< T > compare)
UT_Compare::Equal< T > UTcompareEqual(UT_Compare::Ternary< T > compare)
bool operator()(const T &lhs, const T &rhs)
Greater(Ternary< T > compare)
bool operator()(const T &lhs, const T &rhs)