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