Struct Util::ColorVecCompare

Nested Relationships

This struct is a nested type of Class Util.

Struct Documentation

struct ColorVecCompare

A comparison object for Vector<VecUChar>

Public Functions

inline bool operator()(const VecUChar &lhs, const VecUChar &rhs) const

Comparison operator.

Parameters:
  • lhs – The first object for comparison

  • rhs – The second object for comparison

Returns:

Returns true if lhs is smaller and elsewise false