• <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)了調用操作的一個類或一個模板類。

            An non-nullary metafunction is invoked by instantiating the class template with particular template parameters (metafunction arguments);
            一個非無參的原操作被一個有詳細模板參數(shù)的模板類請求;
            the result of the metafunction application is accessible through the instantiation's nested type typedef.
            原操作應用的返回值是一個通過模板類實例可取的內(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)嵌重命名類型的類

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


            Lambda Expression 構造和分配表達式

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

            Metafunction Class
            原操作類

            Placeholder Expression
            站位符表達式

            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 閱讀(518) 評論(0)  編輯 收藏 引用 所屬分類: STL、Boost、范型編程C++語言

            <2007年5月>
            293012345
            6789101112
            13141516171819
            20212223242526
            272829303112
            3456789

            常用鏈接

            留言簿(4)

            隨筆分類(64)

            隨筆檔案(58)

            文章分類(3)

            文章檔案(3)

            相冊

            收藏夾(9)

            C++零碎

            好友

            搜索

            •  

            積分與排名

            • 積分 - 160837
            • 排名 - 163

            最新評論

            閱讀排行榜

            評論排行榜

            狠狠综合久久综合88亚洲| 77777亚洲午夜久久多喷| 久久免费美女视频| 亚洲狠狠综合久久| 无码任你躁久久久久久久| 亚洲综合日韩久久成人AV| 国产成人久久精品激情| 97久久精品午夜一区二区| 岛国搬运www久久| 精品熟女少妇AV免费久久 | 国产精品欧美久久久天天影视 | 亚洲人成无码网站久久99热国产| 久久久久这里只有精品| 久久亚洲精品无码VA大香大香| 久久国产色AV免费观看| 91精品国产91久久久久久蜜臀| 天天综合久久一二三区| 99久久久精品| 久久国产视频99电影| 亚洲人成网亚洲欧洲无码久久| 久久偷看各类wc女厕嘘嘘| segui久久国产精品| 香蕉99久久国产综合精品宅男自| 亚洲综合伊人久久大杳蕉| 国产精品久久免费| 久久综合久久伊人| 四虎国产精品成人免费久久| 色综合久久综精品| 久久精品亚洲中文字幕无码麻豆| 欧美久久天天综合香蕉伊| 精品国产一区二区三区久久久狼 | 色欲av伊人久久大香线蕉影院| 久久99精品综合国产首页| 亚洲欧美久久久久9999| 亚洲狠狠综合久久| 精品久久久久久久无码| 青草久久久国产线免观| 老司机国内精品久久久久| 一本色道久久综合狠狠躁| 国产成人综合久久精品红| 99久久www免费人成精品|