iotaTuple
- alias iotaTuple(alias begin, alias end, alias step) = iotaTupleImpl!(CommonType!(typeof(begin), typeof(end), typeof(step)), begin, end, step)
alias iotaTuple(alias begin, alias end, alias step) =
iotaTupleImpl!(
CommonType!(
typeof(
begin),
typeof(
end),
typeof(
step)),
begin,
end,
step)
- alias iotaTuple(alias begin, alias end) = iotaTupleImpl!(CommonType!(typeof(begin), typeof(end)), begin, end, 1)
- alias iotaTuple(alias end) = iotaTupleImpl!(typeof(end), 0, end, 1)
unstd generictuple
aliasestemplates
Returns expression tuple with elements going through the numbers begin, begin + step, begin + 2 * step, ..., up to and excluding end. The two-arguments version has step = 1. The one-argument version also has begin = 0. If begin < end && step < 0 or begin > end && step > 0 or begin == end, then an empty tuple is returned.