On Mon, Oct 06, 2008 at 01:08:35PM -0400, Jim Starkey wrote:
> Mats, inline functions defeat the original purpose of hiding the  
> internals.  A virtual method hides the implementation from the client;  
> and inline does not.  Virtual functions will continue to work after a  
> change is made to the internals.  An inline function will not.

only if you care about binary compatibility between versions. Since we
don't, inline is good :)

Especially nice in really performance critical places (where people
would typically use a macro).

We can debate the sensibilities of the 'inline' keyword and
how it (and register) should really just go away as they're just an
excuse for a poor optimising compiler.
-- 
Stewart Smith

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to