$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-07-19 08:06:39
Jason Winnebeck wrote:
>
> Instead I tried to make the SharedThis class non-templated, and
> virtually inherit from that. However it didn't work, because of
> pointer casting issues. I'm not sure if this is what caused my
> errors, but I heard that you can't downcast from a virtual base class
> * to a concrete class without dynamic_cast.
That's correct. A virtual base class's offset can vary at runtime.