Author: David Rasmussen
Date: 15:22:21 01/18/01
Is there any reason _not_ to use inline functions instead of small utility
macros?
For instance, would there be any difference between
#define File(sq) (sq & 7)
and
inline int File(int sq)
{
return (sq & 7);
}
besides the type checking and other nice things that might be gained?
Would there be any downside to the inline function?
This page took 0.01 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.