Re: [orbitcpp-list] Re: cpp branch: CORBA_Object struct hidden?
- From: Richard Andrews <bbmaj7 yahoo com au>
- To: murrayc usa net
- Cc: orbit-list <orbit-list gnome org>,orbitcpp-list <orbitcpp-list lists sourceforge net>
- Subject: Re: [orbitcpp-list] Re: cpp branch: CORBA_Object struct hidden?
- Date: Fri, 22 Feb 2002 14:48:25 +1100 (EST)
--- Murray Cumming <murrayc@t-online.de> wrote:
> > If you did inherit CORBA::Object privately from CORBA_Object,
> then
> > the same piece of memory could be used for C and C++ objects.
>
> But the point is Why is this desirable?
I can't suggest any compelling reason.
I think encapsulation is a better way to proceed. In the end, I think
trying to make CORBA_Object and CORBA::Object binary compatible will
break C++ type-safety.
http://movies.yahoo.com.au - Yahoo! Movies
- Vote for your nominees in our online Oscars pool.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]