Is it a good practice to always use smart pointers?

后端 未结 10 2006
眼角桃花
眼角桃花 2020-12-04 05:08

I find smart pointers to be a lot more comfortable than raw pointers. So is it a good idea to always use smart pointers? ( Please note that I am from Java b

10条回答
  •  無奈伤痛
    2020-12-04 06:06

    It is. Smart pointer is one of the cornerstones of the old Cocoa (Touch) ecosystem. I believe it keeps impacting the new.

提交回复
热议问题