简体中文
外观
存储期决定对象的存储在何时获得和释放。常见分类包括自动、静态、线程和动态存储期。
int globalCount{0}; void record() { static int calls{0}; ++calls; }