会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
withparadox2
首页
新随笔
联系
订阅
管理
2017年1月23日
关于extern const变量无法用在case中的问题
摘要: 有三个文件: Test.h Test.cpp main.cpp 运行就会出现错误: main.cpp:6:20: error: the value of 'test::a' is not usable in a constant expression case test::a: 这里的错误提示很直观
阅读全文
posted @ 2017-01-23 09:45 withparadox2
阅读(1046)
评论(0)
推荐(0)
编辑
2016年8月24日
不要从栈上返回一个局部变量的引用
摘要: 如果不调用removeStack打印出来是3,如果调用打印出来则是5!
阅读全文
posted @ 2016-08-24 13:51 withparadox2
阅读(234)
评论(0)
推荐(0)
编辑
C++虚函数汇编
摘要: 参考这篇文章:http://blog.csdn.net/linyt/article/details/6336762
阅读全文
posted @ 2016-08-24 11:00 withparadox2
阅读(218)
评论(0)
推荐(0)
编辑
2016年7月11日
requirejs异步加载js文件流程
摘要: 这篇文章基于requirejs-2.1.11来分析其加载js文件的流程,而对requirejs其他相关内容不做过多探讨,如有其他方面的需求可参考其规范:http://www.requirejs.cn/或者自行阅读源码。 一般使用requirejs加载js文件有以下两种方法,一种是定义data-mai
阅读全文
posted @ 2016-07-11 21:42 withparadox2
阅读(503)
评论(0)
推荐(0)
编辑