|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] libxc, libxenstore: make the headers C++-friendly
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |