由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - [合集] 为什么不能: declare a static memeber func
相关主题
请问如何把初始化一个const 的vector (or array) in a class?[合集] C问题求助:如何强行从外部访问local static variable?
[合集] static const代替define的performance tradeoff在哪里?C++: operator new 为啥要是 static的, 不是有啥影响?
Any better way to declare a function?[合集] c++ 面试题一问
function declaration[合集] What are the differences between "const char* p" and "c
recursive template?Static variables in function
which func will be called?请教cosnt的使用
一个简单的算法问题?请教一个class design的问题
how to change a variable's value in a const functionwhy use static function here?
相关话题的讨论汇总
话题: aug话题: fri话题: static话题: const话题: 27
进入Programming版参与讨论
1 (共1页)
g****c
发帖数: 299
1
☆─────────────────────────────────────☆
TFIIB (小明) 于 (Fri Aug 27 18:10:16 2004) 提到:
☆─────────────────────────────────────☆
thrust (哼哼的多隆猪) 于 (Fri Aug 27 20:30:27 2004) 提到:
ask yourself, if you have a "const" static member,
it is "const" in what sense??
☆─────────────────────────────────────☆
xiaozhu (體育用品) 于 (Fri Aug 27 21:26:22 2004) 提到:
why not? I can do that. for example:
public:
static const int test(){return 1;};
☆─────────────────────────────────────☆
thrust (哼哼的多隆猪)
1 (共1页)
进入Programming版参与讨论
相关主题
why use static function here?recursive template?
C++ questionwhich func will be called?
C++ cast 小结一个简单的算法问题?
[合集] 为什么 const member 不能是 static.how to change a variable's value in a const function
请问如何把初始化一个const 的vector (or array) in a class?[合集] C问题求助:如何强行从外部访问local static variable?
[合集] static const代替define的performance tradeoff在哪里?C++: operator new 为啥要是 static的, 不是有啥影响?
Any better way to declare a function?[合集] c++ 面试题一问
function declaration[合集] What are the differences between "const char* p" and "c
相关话题的讨论汇总
话题: aug话题: fri话题: static话题: const话题: 27