C++ question: static
登录 | 论坛导航 -> 华新鲜事 -> 社会百科 | 本帖共有 11 楼,当前显示第 9 楼 : 从楼主开始阅读 : 本帖树形列表 : 返回上一页
作者:graduating (等级:4 - 马马虎虎,发帖:562) 发表:2003-06-05 10:23:58  9楼 
my thotsa static member is a class member, while a non-static member is an boject member. It is hard for the compiler to check validity of the sytax if the member fuction poiter is an object memeber. because the compiler cannot always know the exact memeber function it is pointing to at compile time.
Seems to be a reason
But i have not fully understood the explanation yet. And Can someone summary size the use of static?
Never frown even though tomorrow may be grey, may be blue
Who knows who will love your smile in next minute
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表

本帖共有 11 楼,当前显示第 9 楼,本文还有 N-1 层楼,要不你试试看:点击此处阅读更多 >>



请登录后回复:帐号   密码