Home | History | Annotate | Download | only in functional

Lines Matching defs:min

51 inline bool compare (const T& min, const T& reported) { return min <= reported; }
65 float min;
67 FloatRange (float min_, float max_) : min(min_), max(max_) {}
70 std::ostream& operator<< (std::ostream& str, const FloatRange& range) { return str << range.min << ", " << range.max; }
122 bool compare<Boolean> (const Boolean& min, const Boolean& reported)
124 return !min.value || (min.value && reported.value);
128 bool compare<NegInt> (const NegInt& min, const NegInt& reported)
131 return reported.value <= min.value;
135 bool compare<FloatRange> (const FloatRange& min, const FloatRange& reported)
137 return reported.min <= min.min && min.max <= reported.max;