Hi JERRY,
JERRY COFFIN was observed on 09-Sep-97, writing to PETER HAYWOOD
Something about: Signs of numbers
JK>> You shouldn't be using macros in C++, try inline functions
PH>> C++), but why shouldn't I use macros in C++? Doesn't C++ like
PH>> macros for some reason, or is it just a matter of style?
JC> if an inline function will work, it's better than a macro. It
JC> will generally eliminate the same function call overhead that a
JC> macro is usually intended to eliminate. Later, Jerry.
But inline is only a request. The compiler does not have to
place the code inline. Would the same apply to a macro? In
other words... even though the preprocessor expands the code
inline the compiler could treat it as if it were a function
call?
Roger Scudder
rogers@gim.net
... Bad or missing MOUSE.COM. Spank CAT.EXE? (Y/N)
--- Terminate 5.00/Pro
* TerMail/QWK * Terminate = Pointmailer+Tosser+Reader+Packer+QWK!
--- WILDMAIL!/WC v4.12
---------------
* Origin: FIDONET * Remote Control BBS * 610-623-5273 * (1:273/420.0)
|