This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
virtual inline vs inline
- From: Norbert Dajka <daatno at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 4 Nov 2013 14:33:06 +0100
- Subject: virtual inline vs inline
- Authentication-results: sourceware.org; auth=none
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