kuhar wrote: Shower thought: we could also have `auto &[first, second, third] = getNElements<3>(range);`, although I'm not sure how often this comes up. (Not suggesting any changes to this PR, just an idea) https://github.com/llvm/llvm-project/pull/131460