On Fri, Mar 28, 2008 at 3:49 PM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDG
the static_cast calls the templated shared_ptr constructor.
Robert Dailey wrote:
> Thanks, this is a great idea. However, while you're doing the insert()
> I noticed you're using statc_cast<>(). I'm actually surprised this
> compiles.
> This is basically like casting something to an unrelated type, so I'mFine. Consistency wouldn't hurt.
> not sure how the compiler is allowing this behavior. This also seems
> very inconsistent in that you're using boost::static_pointer_cast()
> for going from basically a void* to a signal object.