
9 Jun
2008
9 Jun
'08
6:31 p.m.
Hi, suppose i have container_type<range_type> seqs; i'm looking for iterator, whose instance I call i, such that if(*i == seq [j][k] ){ if(j<seqs.size()){ ++i; *i == seq[j+1][k] }else{ ++i; *i == seq[0][k+1] } if anyone has this or anything similar, could he/she kindly share it? the above is not quite the same as zip_iterator, as the parallel ranges all have the same type. also i'm aware that multi_arrays deal with this, but here i'm interested in arbitrary type. thanks for reading this thread, e.