来源:https://stackoverflow.com/questions/55361657/stdshared-ptr-calls-non-default-deleter-on-null-pointer 标签 c++ shared-ptr smart-pointers reference-counting