On Mon, Jul 06, 2009 at 11:04:53AM +0200, Henrik Grubbström wrote:
> >Is there any method to make sure "anything inherit class A must inherit
> >class B too" at compiling time ?
>
> I haven't looked closer at it, but I believe the facet stuff is
> intended to be used for this sort of thing.
yes, from what i read about it it looks like it can be used for that,
although i wonder why not just inherit B from A?
greetings, martin.
--
cooperative communication with sTeam - caudium, pike, roxen and unix
offering: programming, training and administration - anywhere in the world
--
pike programmer working in china community.gotpike.org
foresight developer foresightlinux.org open-steam.org
unix sysadmin iaeste.(tuwien.ac|or).at caudium.org
Martin Bähr http://www.iaeste.or.at/~mbaehr/ is.schon.org
|