maybe i got a bug

bioinfornatics bioinfornatics at gmail.com
Thu Jan 31 14:27:18 PST 2013


On Thursday, 31 January 2013 at 22:20:25 UTC, Ali Çehreli wrote:
> This is not related to your actual problem but I have noticed 
> that you have side-effects in your FastqReader.front. I think 
> you will benefit from a design where front simply returns the 
> front element and all of the side-effects are inside popFront().
>
> Ali

but as fastq instance used to iterate and fastq instance called 
are not same, any fastq method where depend the position in given 
range won't work. you need to return all possible value that you 
could be used


More information about the Digitalmars-d-learn mailing list