会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Monn
博客园
首页
新随笔
联系
管理
订阅
2013年8月11日
Template within template: why “`>>' should be `> >' within a nested template argument list” 解决方法
摘要: 如果直接这样写:std::vector> intvec;gcc编译器会把">>"当成operator,报错:boost vector error: ‘>>’ should be ‘> >’ within a nested template argument list正确做法是加上空格:std::vector > intvec;不过VS2010测试下不加空格也可以的。
阅读全文
posted @ 2013-08-11 16:16 Monn
阅读(3564)
评论(0)
推荐(0)
编辑
公告