> -----Original Message-----
> From: B. Flaumenhaft [mailto:[EMAIL PROTECTED]]
>
> >As described in Effective C++ by Scott Meyers (an awesome book BTW),
>
> Keep in mind that the Palm OS is a C, not C++, API ... Last I
> heard, some
> compilers support an "inline" keyword in C (in fact, I suspect both
> Metrowerks and gcc do), but unless I'm wrong, it's not yet in ANSI.
>
All the more reason to keep in mind the drawbacks
of macro implementations. And to be aware of which
"functions" you might be useing -are- macros and
not true functions at all.
I'm not saying you should not use macros, just saying
you must be aware of a) what -is- a macro in your API
and b) what the (possibily unanticipated) behavior differences
would be than if it were a real function.
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi./sec ... not just a good idea, it's the LAW!