联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Template Classes to Manage Collections o - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为19221
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • PoolMan
  • Air Traffic Controller
  • virtualdub-win
  • CppUnit
  • Apache-SSL-Jserv
  • FCK editor
  • Async Professional
  • GLgraph
  • -= 更多 =-

    项目描述:
    If you are going to create a project in ATL or some other type, then MFC is often included.   The reason for this is often for a few collection classes and CString.   There will be some overhead in an ATL project if MFC is included and the collection classes is not that hard to rewrite.

    I created some templates that I use and it is working fine for me.   The classes are designed to be fast and use very little memory.   They store pointers to classes and not objects except one.   If constructors, copy constructors, assignment and other things are added then the collection class becomes slower.

    如果你想创建ATL或其它类型的项目,则经常使用MFC。因为它提供了一些集体类和 CString。如果使用MFC,会造成一个ATL项目的额外开销,集合类的重写是不难的。
    我创建了我使用的一些模板,它们运行得很好。这些类的速度快,使用了很少的内存。它们保存类的指针,不保存对象。如果增加了构造函数,拷贝构造函数,赋值和其它功能,这样集合类的速度会变慢。
    来源: http://www.codeguru.com/cpp_mfc/templ_coll.shtml
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    templ_coll  1.0  2004-04-15 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/cpp_mfc/templ_coll_demo.zip

      » 合 作 伙 伴