Axel Hecht wrote:

Neil is right, if you want to reverse the order, you have to fiddle with the getter here.

Actually I prefer fiddling with the "setter" in this case.

if you increment _current at the end of push, you don't need the + 1 here, but then you need to adjust length().

Not true, current will always be incremented by the correct amount. The post-increment only changes the storage locations.
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to