$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-05-11 15:36:57
----- Original Message -----
From: "Rene Rivera" <grafik666_at_[hidden]>
> So does that mean you consider "class" a hack ;-)
definitely.
> I'm trying out a class bassed implementation of containers right now.
> Starting with "container.list"; I'll see how it goes. Seems like a good
way
> to learn about the class module.
>
> And one immediate comment... It would be nice to have an "is-a" rule :-)
>
so write one:
rule is-a ( instance : type )
{ return [ class.is-derived [ modules.peek $(instance) : __class__ ] :
$(type) ] ; }