virtual inline vs inline

Norbert Dajka daatno@gmail.com
Mon Nov 4 13:33:00 GMT 2013


Hello,

I would like to know, if there is any difference (in allocated memory
space) between defining a function inline in the class declaration
(with the inline word), and defining a function inline explicit after
the class declaration.

In addition, does anybody know, why a previously only inline declared
function takes up more memory space, if it's declared virtual inline
(even if the classes to which the declaring class of the function is a
parent class doesn't have their own implementation)?

Best regards,

Norbert



More information about the Gcc-help mailing list