On The Road
(cond ((less 'code) (less 'bug)))
C++博客
首頁
新隨筆
聯系
聚合
管理
隨筆 - 119 文章 - 290 trackbacks - 0
博客搬家了哦,請移步
叫我abc
常用鏈接
我的隨筆
我的評論
我參與的隨筆
留言簿
(12)
給我留言
查看公開留言
查看私人留言
隨筆分類
《GAME PROGRAMMING GEMS6》讀書筆記(4)
《UNIX編程藝術》讀書筆記(4)
month-flow(5)
mysql入門(3)
垃圾收集(4)
我的博客
叫我abc
博客搬家啦
搜索
積分與排名
積分 - 305322
排名 - 84
最新評論
1.?re: C++ std::fstream open mode
i'am got
--hdj
2.?re: cppcheck的使用
你好,你會使用cppcheck嗎?@robert
--wqq
3.?re: 垃圾收集的那點事(H)
非常感謝
--7Qing_
4.?re: 高效調用lua函數
為什么提示沒有findLuaItem這個函數?
--sdfasf
5.?re: android ndk調試知識[未登錄]
博主你好,請問如果沒有.so的源代碼,應該如何進行arm的匯編級調試呢?
--dennis
閱讀排行榜
1.?cppcheck的使用(17050)
2.?十步精通新語言(10688)
3.?內存池實現(9901)
4.?高效調用lua函數(9261)
5.?在lua腳本中使用unicode(8233)
兩個凡是
凡是絕對有效對象或者需要有效對象的地方,使用引用
void DoJob( CSceneMgr& );
CSceneMgr& GetSceneMgr();
凡是允許或者無法判斷對象是否有效的地方,使用指針,并在使用該指針的作用域內對指針進行判斷。
void DoJob( CSceneMgr* );
CSceneMgr* GetSceneMgr();
posted on 2007-10-12 19:26
LOGOS
閱讀(1390)
評論(2)
編輯
收藏
引用
FeedBack:
#
re: 兩個凡是 2007-10-13 14:22
Minidx全文檢索
描述不是很確切啊
回復
更多評論
#
re: 兩個凡是
2007-10-14 19:41
abc
JSF-AV-Rules
AV Rule 117
Arguments should be passed by reference if NULL values are not possible:
AV Rule 117.1 An object should be passed as const T& if the function should not change the value of the object.
AV Rule 117.2 An object should be passed as T& if the function may change the value of the object.
Rationale: Since references cannot be NULL, checks for NULL values will be eliminated from the code. Furthermore, references offer a more convenient notation than pointers.
AV Rule 118
Arguments should be passed via pointers if NULL values are possible:
AV Rule 118.1 An object should be passed as const T* if its value should not be modified.
AV Rule 118.2 An object should be passed as T* if its value may be modified.
Rationale: References cannot be NULL.
回復
更多評論
刷新評論列表
只有注冊用戶
登錄
后才能發表評論。
【推薦】100%開源!大型工業跨平臺軟件C++源碼提供,建模,組態!
網站導航:
博客園
IT新聞
BlogJava
博問
Chat2DB
管理
Copyright ©2025 LOGOS Powered by:
博客園
模板提供:
滬江博客
91亚洲国产成人久久精品网址
|
一级a性色生活片久久无
|
久久亚洲日韩精品一区二区三区
|
久久亚洲春色中文字幕久久久
|
久久精品一区二区
|
无码人妻少妇久久中文字幕
|
狠狠色婷婷久久综合频道日韩
|
久久国产亚洲精品
|
国产精品久久毛片完整版
|
久久精品国产亚洲一区二区三区
|
性欧美大战久久久久久久久
|
精品国产青草久久久久福利
|
亚洲国产精品无码久久一线
|
亚洲AⅤ优女AV综合久久久
|
久久久久久久久无码精品亚洲日韩
|
香蕉久久永久视频
|
91精品国产9l久久久久
|
精品久久久久久久久免费影院
|
成人资源影音先锋久久资源网
|
青青久久精品国产免费看
|
69SEX久久精品国产麻豆
|
久久久www免费人成精品
|
久久久久97国产精华液好用吗
|
99久久人妻无码精品系列蜜桃
|
亚洲AV无码久久精品色欲
|
久久无码国产专区精品
|
久久久久综合国产欧美一区二区
|
色婷婷综合久久久久中文一区二区
|
久久精品成人欧美大片
|
久久93精品国产91久久综合
|
亚洲欧美精品伊人久久
|
久久这里只有精品首页
|
国产精品久久自在自线观看
|
91精品国产91久久综合
|
91精品国产综合久久婷婷
|
国产人久久人人人人爽
|
久久精品无码专区免费青青
|
日韩久久久久久中文人妻
|
久久精品国产亚洲av麻豆色欲
|
久久久老熟女一区二区三区
|
国产成人久久AV免费
|