dataflow_consumer-snippet.h 193 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
template <typename T>
class Consumer {
public:
  void Run(const T& x1, const T& x2, const T& x3, const T& x4) {
    if (x1 <= x2 && x2 <= x3 && x3 <= x4) {
      // consume values
    }
  }
};