disable std::shared_ptr