Hello,

The question is in the title. It should be possible for a finite random access ranges to perform an indexed foreach no ? I mean like :

foreach(size_t i = 0, auto ref x; R)
{
    /*...*/
}

Why are other foreach statements overloadable but this one ?

Thanks in advance.

Reply via email to