When is it best to use a function prototype or inline function, within a class?
When is it best to use a function prototype or inline function, within a class?
Use inline when the function is REALLY short (like one or two statements) (typically setter/getter functions).
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.