关于shared_from_this 查找的资料:1. TcpConnection用到了enable_shared_from_this这个基类,这个基类提供了一个shared_from_this()公用方法可以让子类内部获取到shared_ptr的对象,用来用在类实现过程中需要传递自身指针的地方。有...
分类:
编程语言 时间:
2015-07-27 18:31:27
阅读次数:
161
1.NDK编译jni时增加调试信息:$NDK_ROOT/ndk-build -B NDK_DEBUG=12.发生崩溃时,logcat中收集日志:09-11 14:41:15.220: D/dalvikvm(20580): Added shared lib /data/data/com.sec.and...
分类:
移动开发 时间:
2015-07-27 12:42:28
阅读次数:
243
1.编辑器的版本必须和java的位数是多少 是64位 还是 32位的failed to load the jni shared libraryclipse的版本与jre或者jdk版本不一致对策:要么两者都安装64位的,要么都安装32位的,不能一个是32位一个是64位。原因2的概率更大一些,原因1不太...
分类:
编程语言 时间:
2015-07-27 10:54:18
阅读次数:
172
poj 1502 MPI MaelstromDescription
BIT has recently taken delivery of their new supercomputer, a 32 processor Apollo Odyssey distributed shared memory machine with a hierarchical communication subsyste...
分类:
其他好文 时间:
2015-07-26 15:46:39
阅读次数:
114
service php-fpm startStarting php-fpm /alidata/server/php/sbin/php-fpm: error while loading shared libraries: libiconv.so.2: cannot open shared object...
分类:
Web程序 时间:
2015-07-25 21:25:18
阅读次数:
426
---恢复内容开始---我在Ubuntu14 64为下安装了AS,但在用Gradle编译项目时总是报找不到 libz.so.1的错误。error while loading shared librarieserror while loading shared libraries: : libz.so...
分类:
移动开发 时间:
2015-07-25 13:34:12
阅读次数:
237
VB.NETProgram StructureC#Imports System Namespace Hello Class HelloWorld Overloads Shared Sub Main(ByVal args() As String) Dim name As String = "...
需要注意:auto_ptr 类可以用于管理由 new 分配的单个对象,但是无法管理动态分配的数组(我们通常不会使用数组,而是使用 vector 代替数组)。auto_ptr 在拷贝和赋值的时候有不寻常的行为,因此 auto_ptrs 不能被保存在 stl 的容器中。当 auto_ptr 离开了自己的...
分类:
其他好文 时间:
2015-07-23 23:35:39
阅读次数:
211
http://alcatraz.io安装方法:curl-fsSLhttps://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh|sh删除方法:rm-rf~/Library/Application\Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin清除缓存数据:rm-rf~/Library/Application\Sup..
分类:
其他好文 时间:
2015-07-22 16:31:46
阅读次数:
106