neil at parkwaycc.co.uk
Mon Apr 17 01:12:05 EDT 2006
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.
More information about the Project_owners