static对象

1、static对象包括:

  global对象

  namespace作用域下的对象

  在class,function,file作用域内的static对象

2、在方法内的static对象成为 local static对象,其他的称为non-local static对象。

3、static对象只被初始化一次。

posted on 2013-10-15 18:30  Andy Niu  阅读(482)  评论(0)    收藏  举报