maybe i got a bug
bioinfornatics
bioinfornatics at fedoraproject.org
Thu Jan 31 08:33:23 PST 2013
When i print the memory addres from _number in front method and
into number method is not the same while _number should be a
member of the given instance;
./fastq ~/Projets/little.fastq
-> FastqReader.empty()
-> FastqReader.front()
7FFF355EA0C0, 0, 1
-> FastqReader.number()
7FFF355EA090, 0
0 IDENTIFIER @
-> FastqReader.popFront()
-> FastqReader.empty()
-> FastqReader.empty()
-> FastqReader.empty()
-> FastqReader.front()
-> FastqReader.number()
....
7FFF355EA090, 0
0 QUALITY G
-> FastqReader.popFront()
-> FastqReader.empty()
-> FastqReader.empty()
-> FastqReader.empty()
-> FastqReader.empty()
-> FastqReader.empty()
-> FastqReader.front()
7FFF355EA0C0, 1, 2
----------------
here you see that in front _number is located at 7FFF355EA0C0 and
value was 0 and go to 1
while number method return always 0 and _number is located at
7FFF355EA090
And later in front method _number had a value of 1 and go to 2 as
intended
number property continue to return 0
More information about the Digitalmars-d-learn
mailing list