public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Norbert Dajka <daatno@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: virtual inline vs inline
Date: Mon, 04 Nov 2013 13:33:00 -0000	[thread overview]
Message-ID: <CABD7AnWSuEAez73wO0u=_Nj=p=K8xcc4SOd1maDfpoJqX4jauA@mail.gmail.com> (raw)

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

             reply	other threads:[~2013-11-04 13:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-04 13:33 Norbert Dajka [this message]
2013-11-04 14:51 ` Jonathan Wakely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABD7AnWSuEAez73wO0u=_Nj=p=K8xcc4SOd1maDfpoJqX4jauA@mail.gmail.com' \
    --to=daatno@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).