S
Steve Pope
toton said:Steve Pope wrote:
Macros are evil. I will never use them except some very simple cases,
even when I am very careful.
Agreed. (But you did say you wanted some functions/operators inlined,
and this is one approach...)
I hadn't said that. What I had said is that inlined functions need to
be in header (not translation unit) , may be at the place of
declaration, or may be seperately after declaration. If the whole
header file has forward declaration of cetrain class, due to circular
dependency, One can not write inline function which use the definition.
Thanks, that makes sense.
Steve