• <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

            最新評論

            閱讀排行榜

            評論排行榜

            国产激情久久久久影院| 成人资源影音先锋久久资源网| 青青热久久国产久精品| 精品久久久久久无码中文字幕一区 | 久久精品国产亚洲AV香蕉| 久久精品国产99久久久| 久久e热在这里只有国产中文精品99 | 无码久久精品国产亚洲Av影片| 日韩精品国产自在久久现线拍| 99久久精品免费看国产一区二区三区| 国产麻豆精品久久一二三| 久久精品无码一区二区WWW| 伊人久久大香线蕉精品不卡| 久久国产精品无码网站| 国产精品无码久久久久| 97精品国产97久久久久久免费| 久久777国产线看观看精品| 久久99亚洲综合精品首页| 亚洲精品NV久久久久久久久久 | 久久伊人亚洲AV无码网站| 日韩电影久久久被窝网| 国内精品综合久久久40p| 亚洲综合精品香蕉久久网| 久久99精品久久久久婷婷| 国产精品内射久久久久欢欢| 亚洲中文字幕伊人久久无码 | 久久综合九色综合欧美狠狠| 亚洲欧美精品伊人久久| 97久久国产露脸精品国产| 国产高潮国产高潮久久久91 | 久久被窝电影亚洲爽爽爽| 久久久黄片| 1000部精品久久久久久久久| 午夜精品久久久久成人| 精品亚洲综合久久中文字幕| 久久久久久国产精品美女 | 亚洲国产香蕉人人爽成AV片久久| av无码久久久久不卡免费网站| 偷偷做久久久久网站| 久久影视国产亚洲| 国产巨作麻豆欧美亚洲综合久久|