实现了类似std::function /bind /shared_ptr功能

时间:2019-12-20 09:38:13
【文件属性】:
文件名称:实现了类似std::function /bind /shared_ptr功能
文件大小:13KB
文件格式:ZIP
更新时间:2019-12-20 09:38:13
智能指正 function bind linux windows 实现了标准库中的function和bind以及智能指针,linux/windows通用。由于公司GCC版本较老,嵌入式的gcc也无法由我来控制,windows上使用的一些类似智能指针,在linux上无法使用,甚是不爽,于是自己手动写了一份,希望对大家有所帮助
【文件预览】:
libsmart
----common.mk(8KB)
----prj_linux()
--------makefile_release(951B)
--------makefile(255B)
--------makefile_debug(945B)
----include()
--------cxxfunction.h(888B)
--------cxxfunctionbase(4KB)
--------cxxsmart_ptr(2KB)
--------cxxwrap(401B)
--------cxxcommondef(4KB)
--------cxxargdef(3KB)
----prj_win32()
--------stdafx.cpp(295B)
--------libsmart.sln(882B)
--------stdafx.h(320B)
--------targetver.h(314B)
--------libsmart.vcxproj.filters(1KB)
--------libsmart.vcxproj(4KB)
----source()
--------libsmart.cpp(3KB)

网友评论