我知道SP和WP的区别,SP会自动回收动态分配的内存。但我不知道什么时候以及如何使用WP?谁能给我一个例子?
android smart-pointers android-source
android ×1
android-source ×1
smart-pointers ×1