boost, shared_ptr and bcp
后来又了解到bcp这个工具,可以将所需的module(s)提取出来,单独发布。于是就下载了boost的源代码包,编译了bjam和bcp,再用bcp将shared_ptr提取出来。结果吓了一跳,shared_ptr及其依赖的文件有300多个,共约3.5M。看来只好自己照猫画虎实现一个简化的ad hoc版本了...
Posted on: 六月 23, 2008
Posted by: yongsun
Category: General
This blog copyright 2009 by yongsun
You are viewing the entry boost, shared_ptr and bcp
2008 2009 beijing c++ china corpus crf crf++ d700 dbus fp geometry gnu google ibus iconv indiana input-method interview ips l10n lambda linker mac maxent mercurial nikon nlp opensolaris party pkg planet.os.o python ruby samp scim solaris stardict static_constructor sunpinyin sunstudio techdays tip tips x11 xvm zfs 三聚氰胺 分词 小小

自己写的版本的话,有时候会有一些问题比较麻烦的,比如涉及到多线程的时候。
发表于 pluskid 在 2008年06月23日, 08:36 下午 CST #
的确,不过好在我只是自己内部用用,而且是单线程的程序。
发表于 Yong Sun 在 2008年06月23日, 08:47 下午 CST #