[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost
Subject:    Re: [boost] [pimpl] Proposal. Determining interest.
From:       "Vladimir Batov" <batov () people ! net ! au>
Date:       2007-11-04 0:39:03
Message-ID: 000b01c81e7b$1975f270$0201a8c0 () irsa ! railad ! com
[Download RAW message or body]

> Out of curiosity in this and all other examples of this pimpl library
> public inheritance is used. Isn't this an implemented in terms (spelled
> private) of rather than an IS-A (spelled public) relationship?
>
> I'm sure there is a technical reason I'm missing.

I the examples I build two separate hierarchies -- for interfaces and for 
implementations. Those examples are to demonstrate pimpl<> deployment for 
polymorphic classes, i.e. with IS-A kind of relationship. I am not sure 
where "implemented in terms" comes in as interfaces inherit from interfaces 
and implementations inherit from implementations. Clearly IS-A as far as I 
can see.

Best,
V. 

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic