• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 119  文章 - 290  trackbacks - 0

            博客搬家了哦,請(qǐng)移步
            叫我abc

            常用鏈接

            留言簿(12)

            隨筆分類(lèi)

            我的博客

            搜索

            •  

            積分與排名

            • 積分 - 304348
            • 排名 - 84

            最新評(píng)論

            閱讀排行榜

            凡是絕對(duì)有效對(duì)象或者需要有效對(duì)象的地方,使用引用
                        void DoJob( CSceneMgr& );
                        CSceneMgr& GetSceneMgr();
            凡是允許或者無(wú)法判斷對(duì)象是否有效的地方,使用指針,并在使用該指針的作用域內(nèi)對(duì)指針進(jìn)行判斷。
                        void DoJob( CSceneMgr* );
                        CSceneMgr* GetSceneMgr();
            posted on 2007-10-12 19:26 LOGOS 閱讀(1386) 評(píng)論(2)  編輯 收藏 引用

            FeedBack:
            # re: 兩個(gè)凡是 2007-10-13 14:22 Minidx全文檢索
            描述不是很確切啊  回復(fù)  更多評(píng)論
              
            # re: 兩個(gè)凡是 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.  回復(fù)  更多評(píng)論
              

            只有注冊(cè)用戶(hù)登錄后才能發(fā)表評(píng)論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問(wèn)   Chat2DB   管理


            亚洲午夜无码AV毛片久久| 久久久久久亚洲精品影院| 国产精品国色综合久久| 狠狠色丁香久久婷婷综| 国内精品伊人久久久久影院对白 | 久久乐国产综合亚洲精品| 亚洲精品美女久久777777| 久久精品男人影院| 久久久久久久波多野结衣高潮| 亚洲AV成人无码久久精品老人| 91久久精品91久久性色| 久久国产综合精品五月天| 久久99国产精品久久99小说 | 国产成人精品久久| 中文字幕无码精品亚洲资源网久久| 久久成人国产精品| 亚洲精品WWW久久久久久| 好属妞这里只有精品久久| 精品久久久久久国产| 精品久久久久久久久久中文字幕| 精品久久久久久国产| 一本久久综合亚洲鲁鲁五月天亚洲欧美一区二区 | 久久婷婷五月综合97色直播| 色婷婷综合久久久中文字幕| 久久99热这里只有精品国产| …久久精品99久久香蕉国产| 久久久久免费精品国产| 人妻精品久久久久中文字幕| 亚洲国产二区三区久久| 国产精品无码久久综合 | 很黄很污的网站久久mimi色| 久久国产精品99国产精| 久久精品国产99久久无毒不卡| 亚洲欧美日韩久久精品第一区| 伊人久久一区二区三区无码| 久久久久免费视频| 久久精品国产亚洲av瑜伽| 精品水蜜桃久久久久久久| 9久久9久久精品| 欧美丰满熟妇BBB久久久| 久久亚洲sm情趣捆绑调教|