摘要: 遇见C++ AMP:在GPU上做并行计算 Written by Allen Lee I see all the young believers, your target audience. I see all the old deceivers; we all just sing their son 阅读全文
posted @ 2017-10-20 23:16 lsgxeva 阅读(4718) 评论(0) 推荐(0)
摘要: C++ 中memset 勿要对类使用 参考链接: http://www.cppblog.com/qinqing1984/archive/2009/08/07/92479.html 百度百科第一次这么给力: void *memset(void *s, int ch, size_t n); 函数解释:将 阅读全文
posted @ 2017-10-20 20:23 lsgxeva 阅读(2060) 评论(0) 推荐(0)
摘要: trait与policy模板技术 我们知道,类有属性(即数据)和操作两个方面。同样模板也有自己的属性(特别是模板参数类型的一些具体特征,即trait)和算法策略(policy,即模板内部的操作逻辑)。模板是对有共性的各种类型进行参数化后的一种通用代码,但不同的具体类型又可能会有一些差异,比如不同的类 阅读全文
posted @ 2017-10-20 17:42 lsgxeva 阅读(577) 评论(0) 推荐(0)
摘要: C++标准库 C++标准库和标准模版库在线资料查询网址: http://en.cppreference.com/w/ 或者 http://www.cplusplus.com/ C++强大的功能来源于其丰富的类库及库函数资源。C++标准库的内容总共在50个标准头文件中定义。在C++开发中,要尽可能地利 阅读全文
posted @ 2017-10-20 00:07 lsgxeva 阅读(3601) 评论(0) 推荐(0)