C++11 Smart Pointer
避免 memory leak:C++11 Smart Pointer(上) https://kheresy.wordpress.com/2012/03/03/c11_smartpointer_p1/ 避免 memory leak:C++11 Smart Pointer(下) https://kheresy.wordpress.com/2012/03/05/c11_smartpointer_p2/amp/ C++中的智能指針(1):shared_ptr的介紹和用法 https://blog.csdn.net/thinkerleo1997/article/details/78754919 作法:建立及使用 shared_ptr 執行個體 https://docs.microsoft.com/zh-tw/cpp/cpp/how-to-create-and-use-shared-ptr-instances?view=vs-2019