[c++] Smart Pointers

发布时间:2016-12-31 7:46:41
来源:分享查询网

return 0;
}
View Code

Lifetime: the period of time in which memory is allocated for an object

Different kinds of objects:

Named objects: (named by the programmer): their lifetimes determined by their scope

Heap objects (unnamed objects): their lifetimes determined by the programmer

返回顶部
查看电脑版