Thread: Hey Pf
View Single Post
Old Nov 4th, 2007, 8:21 PM   #23
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Re: Hey Pf

@Jabo: better for typing? It emits the same code.

@lectric: preincrement on an int is neither better nor worse than post increment. Again, examine the emitted code. For overloaded increment operators, there may be a couple instructions worth of difference.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote