The RangeNd::ordinal(...) functions are redundant. They can be implemented using a single function. For cases where you want to call RangeNd::ordinal(), overload priority will favor the non-template function. The ordinal object is able to differentiate the different arguments.
The
RangeNd::ordinal(...)
functions are redundant. They can be implemented using a single function. For cases where you want to callRangeNd::ordinal()
, overload priority will favor the non-template function. The ordinal object is able to differentiate the different arguments.