From: Razvan Cojocaru <rzvncj@gmail.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Jan Beulich <JBeulich@suse.com>, xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH] libxc, libxenstore: make the headers C++-friendly
Date: Tue, 22 Jan 2013 19:29:30 +0200 [thread overview]
Message-ID: <50FECC7A.9060108@gmail.com> (raw)
In-Reply-To: <1358875480.3279.396.camel@zakaz.uk.xensource.com>
> What about if you do
> #define private pprivate
> #include <mem_event.h>
> ?
Then when I write my classes, and like a good C++ citizen, try to hide
as much implementation detail as possible, my class becomes from this:
class XenHandle {
// ...
private:
xc_interface *xci_;
};
this:
class XenHandle {
// ...
pprivate:
xc_interface *xci_;
};
Cheers,
Razvan Cojocaru
next prev parent reply other threads:[~2013-01-22 17:29 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-22 16:44 [PATCH] libxc, libxenstore: make the headers C++-friendly Razvan Cojocaru
2013-01-22 16:53 ` Jan Beulich
2013-01-22 17:02 ` Ian Campbell
2013-01-22 17:18 ` Razvan Cojocaru
2013-01-22 17:19 ` Jan Beulich
2013-01-22 17:07 ` Razvan Cojocaru
2013-01-22 17:12 ` Jan Beulich
2013-01-22 17:21 ` Razvan Cojocaru
2013-01-22 17:24 ` Ian Campbell
2013-01-22 17:29 ` Razvan Cojocaru [this message]
2013-01-22 17:30 ` Andrew Cooper
2013-01-22 17:26 ` Jan Beulich
2013-01-22 17:26 ` Razvan Cojocaru
2013-01-22 17:31 ` Tim Deegan
2013-01-22 17:44 ` Razvan Cojocaru
2013-01-23 8:25 ` Jan Beulich
2013-01-22 16:57 ` Tim Deegan
2013-01-22 17:12 ` Razvan Cojocaru
2013-01-22 17:28 ` Tim Deegan
2013-01-22 17:34 ` Razvan Cojocaru
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=50FECC7A.9060108@gmail.com \
--to=rzvncj@gmail.com \
--cc=Ian.Campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.