foreach loop + counter iter + Phobos range

bioinfornatics bioinfornatics at fedoraproject.org
Tue Nov 20 02:48:50 PST 2012


hi why whith this code : http://dpaste.dzfl.pl/474dd9f6

i get these errors:
parser/fasta.d(171): Error: cannot infer argument types
parser/fasta.d(176): Error: undefined identifier index, did you 
mean template indexed(Source,Indices)?
parser/fasta.d(177): Error: undefined identifier index, did you 
mean template indexed(Source,Indices)?
parser/fasta.d(179): Error: undefined identifier index, did you 
mean template indexed(Source,Indices)?
parser/fasta.d(180): Error: undefined identifier index, did you 
mean template indexed(Source,Indices)?
parser/fasta.d(183): Error: undefined identifier 'header'


what is wrong at line 171 ? i am explicit i said i want a counter 
iterator and a Fasta struct!


More information about the Digitalmars-d-learn mailing list