$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Michael Bradley Jr (mbradley.jr_at_[hidden])
Date: 2008-01-03 11:16:59
Hi,
can someone please provide me an elegant way to solve the current problem.
class A;
class B : public A;
boost::shared_ptr<A> pA;
boost::shared_ptr<B> pB;
Would like to cast pB to pA with a construct like the *static_cast* but that
ain't really pretty !
Thanks in advance
Michael