在阅读完这个答案后,看起来最好尽可能使用智能指针,并将"普通"/原始指针的使用量降至最低.
真的吗?
c++ boost pointers smart-pointers
boost ×1
c++ ×1
pointers ×1
smart-pointers ×1