[2013-04-24 17:14] random...@fastmail.us
> 
> A) Why do min and max need to be macros at all?

That's the point, IMO. All the problems are introduced by performance
optimizations that might not even necessary. If you write it as a
function you simply don't need to care for double-evaluation. It will
just work as expected ... and in many cases the compiler will do the
optimization for you. Show me the case that really needs a macro!


meillo

Reply via email to