35 for (
const label val : set)
49 for (
const label val : set)
65 for (
const label val : set)
A min/max value pair with additional methods. In addition to conveniently storing values,...
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
MinMax< label > minMax(const labelHashSet &set)
Find the min/max values of labelHashSet.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.