More object model questions
John H. Spicer
jhs at edg.com
Thu Jan 10 20:56:37 CET 2002
David Abrahams wrote:
>
> ----- Original Message -----
> From: "John H. Spicer" <jhs at edg.com>
>
> >
> > I'm afraid that after all that I don't have anything very interesting to
> > say except that it sounds like a good reason for extended RTTI. It also
> > sounds like we need a variant of dynamic_cast that can take a typeid
> > as the destination type.
>
> Now /that/ sounds promising!
> It knows something about the static type of the source so it can find vtbls,
> and the typeid can provide the rest of what's needed. Will you propose an
> extension?
>
I don't think I want to make a proposal because I don't think I'm in a good
position to write a rationale. I'd be happy to contribute to a proposal
though.
John.
More information about the Cplusplus-sig
mailing list