StaticCastSharedRef

SharedPointerInternals.h contains the implementation of reference counting structures we need.