又一个C 的反射技术
2005-03-03 13:02
204 查看
连续几个周末在看《火影忍者》,呵呵,疏懒了看技术的东西了。新办公室用联通的网络,反而去codeporject.com畅顺了,于是上去看看近来几个月来忽略了的文章,发现不少好玩的东西。其中比较吸引的是:http://www.codeproject.com/library/libreflection.asp 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了吧,没功夫细究了。
其中的 Serialization 也比较有趣。
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了吧,没功夫细究了。
其中的 Serialization 也比较有趣。
相关文章推荐
- 利用JAVA反射技术查找一个类的所有属性
- 7. 反射技术:其实就是动态加载一个指定的类
- 利用JAVA反射技术查找一个类的所有属性
- (原创)利用扩展方法,给 IEnumerable<T> 增加一个生成 Html 的 CheckBox 标签的方法,不用 C# 中的反射技术
- Java反射技术二:利用反射打印一个类的构造函数、方法、域
- 使用反射技术,为DataGridView增加一个自动填充的扩展方法
- 【Java】【反射技术】2个对象除了类名不一样,类的定义部分完全一样;当给定一个对象,转换成另一个类的对象。
- (原创)利用扩展方法,给 IEnumerable<T> 增加一个生成 Html 的 select 标签的方法,不用 C# 中的反射技术
- 通过反射技术测试一个类的private…
- 通过反射技术测试一个类的private…
- java 反射技术 打印类成员变量的值(查看一个对象的成员数据时十分方便)
- 反射技术将查询结果封装为对象_编写一个基本的连接池来实现连接的复用
- DirectDraw双缓冲技术,一个小问题。
- 写一个简单的C#反射的例子(附有源码)
- COM技术初探(三)-- 一个真正的COM
- 分享一个白帽交流灵感的社区——先知技术安全社区
- 根据反射技术得到jar包中所有类,以及方法
- 没个百来万就想自建技术团队?亲身经历告诉你,一个APP从无到有的开发到底要花多少钱!
- 即使是一个技术人员,也需要知道沟通的重要性
- 开发好一个软件功能模块不是光有激情、有干劲、有技术就可以得到成功的