• <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>
            posts - 58,  comments - 75,  trackbacks - 0

                    這是我在看boost MPL時試著翻譯的東西,現(xiàn)在貼上來。

            A metafunction is a class or a class template that represents a function invocable at compile-time.
            一個原操作是在編譯器表現(xiàn)了調(diào)用操作的一個類或一個模板類。

            An non-nullary metafunction is invoked by instantiating the class template with particular template parameters (metafunction arguments);
            一個非無參的原操作被一個有詳細(xì)模板參數(shù)的模板類請求;
            the result of the metafunction application is accessible through the instantiation's nested type typedef.
            原操作應(yīng)用的返回值是一個通過模板類實例可取的內(nèi)嵌的類型定義。

            All metafunction's arguments must be types (i.e. only type template parameters are allowed).
            所有的原操作的參數(shù)必須是類型。

            A metafunction can have a variable number of parameters.
            一個原操作能有一個數(shù)量變化的參數(shù)

            A nullary metafunction is represented as a (template) class with a nested type typename member.
            一個無參數(shù)原操作被表現(xiàn)為有內(nèi)嵌重命名類型的類

            原操作的三種表達(dá)式(f是一個原操作)
            1 f::type
            2 f<>::type
            3 f< a1,..,an >::type


            Lambda Expression 構(gòu)造和分配表達(dá)式

            A Lambda Expression is a compile-time invocable entity in either of the following two forms:
            一個構(gòu)造和分配表達(dá)式是下面兩個中的一個編譯期調(diào)用單元

            Metafunction Class
            原操作類

            Placeholder Expression
            站位符表達(dá)式

            Most of the MPL components accept either of those, and the concept gives us a consice way to describe these requirements.
            大部分的MPL組件接收它們其中一個,

            posted on 2007-04-07 16:20 walkspeed 閱讀(536) 評論(0)  編輯 收藏 引用 所屬分類: STL、Boost、范型編程C++語言

            <2007年4月>
            25262728293031
            1234567
            891011121314
            15161718192021
            22232425262728
            293012345

            常用鏈接

            留言簿(4)

            隨筆分類(64)

            隨筆檔案(58)

            文章分類(3)

            文章檔案(3)

            相冊

            收藏夾(9)

            C++零碎

            好友

            搜索

            •  

            積分與排名

            • 積分 - 161954
            • 排名 - 163

            最新評論

            閱讀排行榜

            評論排行榜

            亚洲人成网亚洲欧洲无码久久| 久久久久亚洲?V成人无码| 亚洲精品乱码久久久久久蜜桃不卡| 日产精品久久久久久久性色| 久久精品亚洲精品国产色婷| 免费观看久久精彩视频| 99久久香蕉国产线看观香| 狠狠色丁香婷婷综合久久来 | 久久这里的只有是精品23| 午夜精品久久久久久久久| 国产巨作麻豆欧美亚洲综合久久| 久久亚洲中文字幕精品一区| 国产91色综合久久免费分享| 久久久久久曰本AV免费免费| 国产精品无码久久四虎| 久久99国产精品一区二区| 亚洲综合精品香蕉久久网| 久久91精品国产91| 久久99久久无码毛片一区二区 | 国产高清美女一级a毛片久久w| 久久精品99久久香蕉国产色戒| 国产偷久久久精品专区| 午夜精品久久影院蜜桃| 久久人人超碰精品CAOPOREN| 精品久久久久久无码人妻蜜桃| 久久亚洲国产午夜精品理论片| 色综合久久无码五十路人妻| 伊人久久大香线蕉AV一区二区| 亚洲精品无码久久久| 一本一道久久a久久精品综合| 日韩影院久久| 日本五月天婷久久网站| 久久婷婷五月综合成人D啪 | 国产99精品久久| 色综合色天天久久婷婷基地| 久久综合狠狠色综合伊人| 亚洲精品高清久久| 久久er国产精品免费观看8| 久久人人爽人爽人人爽av| 欧美久久亚洲精品| 亚洲精品蜜桃久久久久久|