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

            牽著老婆滿街逛

            嚴以律己,寬以待人. 三思而后行.
            GMail/GTalk: yanglinbo#google.com;
            MSN/Email: tx7do#yahoo.com.cn;
            QQ: 3 0 3 3 9 6 9 2 0 .

            C++ 的“反射”技術

            Lit Window Library
            來自http://sourceforge.net/projects/litwindow?大概看了一下,使用了宏建立了一個比較復雜的數據結構,用來提供成員反查以及成員訪問。
            ?
            tinybind
            來自http://sourceforge.net/projects/tinybind/? 這個應該不算是反射,不過通過了定義一個Binding函數實現成員和XML的Element之間的綁定,自動實現了XML<->class,對實現C++的“反射”也有一定的參考作用。
            ?
            OODBC
            來自http://www.garret.ru/~knizhnik/cpp.html? 這個也應該不算是反射,也是通過宏建立一個記錄成員變量在類中的偏移位置的鏈表。自動實現數據庫字段與成員的綁定,有點Hibernate的味道。呵呵。同時,作者提供的另外幾個例如FastDB、GigaBase、goods、POST++都使用了類似的技術。

            ?
            AGM::LibReflection: A reflection library for C++.
            ?
            用的是宏,不過實現出來的東西比較有“反射”的味道,而且只需要一個頭文件就足夠了。不知道g++下表現如何,有空要研究研究。
            ?
            ?
            boost出了1.32,去 http://boost.c-view.org/?可以找到。
            其中新增加的部分有:
            • Assignment Library: Filling containers with constant or generated data has never been easier, from Thorsten Ottosen.
            • Minmax Library: Standard library extensions for simultaneous min/max and min/max element computations, from Hervé Br?nnimann.
            • Multi-index Containers Library: Containers with multiple STL-compatible access interfaces, from Joaquín M López Mu?oz.
            • Numeric Conversion Library: Optimized policy-based numeric conversions, from Fernando Cacciola.
            • Program Options Library: Access to configuration data given on command line, in config files and other sources, from Vladimir Prus.
            • Range Library: A new infrastructure for generic algorithms that builds on top of the new iterator concepts, from Thorsten Ottosen.
            • Serialization Library: Serialization/de-serialization of arbitrary C++ data structures to various formats including text, binary, and xml, from Robert Ramey.
            • String Algorithms Library: Collection of string related algorithms for case conversion, trimming, find/replace operations and more, from Pavol Droba.
            • Tribool: 3-state boolean type library, from Doug Gregor.

            其中的 Multi-index Containers Library?還是比較有特色,其他的大部分倒是在其他地方也看到過,可能是那些作者加入了boost了吧,沒功夫細究了。

            posted on 2006-09-05 13:03 楊粼波 閱讀(4227) 評論(0)  編輯 收藏 引用 所屬分類: 文章收藏C++

            1000部精品久久久久久久久| 久久国产香蕉一区精品| 人妻精品久久久久中文字幕69 | 久久只有这里有精品4| 色天使久久综合网天天| AAA级久久久精品无码片| 久久国产视屏| 嫩草伊人久久精品少妇AV| 蜜桃麻豆www久久| 中文字幕久久精品无码| 激情久久久久久久久久| 伊人久久综合精品无码AV专区| 久久国产精品国产自线拍免费 | 思思久久好好热精品国产| 久久精品亚洲精品国产色婷| 九九热久久免费视频| 久久99精品久久久久久久不卡| 亚洲国产成人久久精品99 | 久久美女人爽女人爽| 久久中文字幕人妻丝袜| 久久精品国产亚洲5555| 久久久一本精品99久久精品66| 理论片午午伦夜理片久久 | 久久精品国产亚洲AV无码娇色| 一本久久a久久精品综合香蕉| 久久精品国产亚洲AV无码娇色| 久久久久久久91精品免费观看| 99久久精品免费看国产| 青青草国产成人久久91网| 成人综合伊人五月婷久久| 亚洲AV无码成人网站久久精品大| 久久久99精品成人片中文字幕 | 精品久久久久久| 久久国产色av免费看| 久久综合久久美利坚合众国| 伊人久久大香线蕉综合网站| 欧美日韩精品久久久免费观看| 久久精品99无色码中文字幕| 久久精品九九亚洲精品天堂 | 久久亚洲国产成人精品无码区| 伊人久久综合热线大杳蕉下载|