[mythtv] C++ style

Matt Zimmerman mdz at debian.org
Wed Feb 11 14:24:47 EST 2004


On Wed, Feb 11, 2004 at 01:47:50PM -0500, Joseph A. Caputo wrote:

> but
> 	if (somevar == ++i)
> is definitely different than
> 	if (somevar == i++)

Which is a great reason to only use postincrement when it results in clearer
code (which is not often).

-- 
 - mdz


More information about the mythtv-dev mailing list