warning: specialization of ‘template<class _Iterator> struct std::iterator_traits’ in different namespace [-fpermissive]

template<> class std::iterator_traits<Token_ptr>{
public:
typedef Word difference_type;
typedef Word value_type;
typedef Token_ptr pointer;
typedef Word& reference ;
typedef std::bidirectional_iterator_tag iterator_category ;
};

While everything works correctly, does any body know what exactly means and why is issued the warning. ( g++ issues the warning while clang++ doesn't ).

https://stackoverflow.com/questions/25594644/warning-specialization-of-template-in-different-namespace
// gcc编译器处理模板特化的一个bug,必须此处用不能用单行命名空间,只能用大括号的命名空间

最新文章

  1. web服务器选择Apache还是Nginx
  2. python基础——单元测试
  3. Mysql 中有关日期的函数(sql)
  4. Sprint第二个冲刺(第十一天)
  5. poj2429 大数分解+dfs
  6. MySQL二进制日志的备份和恢复
  7. (3)TXT转为XML
  8. 转 Problem: AnyConnect was not able to establish a connection to the specified secu
  9. hdu--1421--dp--搬寝室
  10. Go语言中slice使用注意事项
  11. HTML5的学习(二)HTML5标签
  12. java学习第四周
  13. bzoj4129 Haruna’s Breakfast 莫队
  14. C# 获取textbox行数
  15. 微信小程序开发笔记2,底部导航栏tablebar
  16. Python学习---Python的异步IO[all]
  17. python学习笔记2-字符串操作
  18. Guava 源码分析之 Beta, GwtCompatible, GwtIncompatible, Charset, HashCode
  19. SICP 习题 (2.8) 解题总结:区间的减法
  20. Deep learning for visual understanding: A review

热门文章

  1. Android实现二维码扫描功能
  2. 在页面获取本地电脑IP
  3. 深入理解 ValueTask
  4. Linux命令passwd
  5. SpringBoot + Nginx 配置HTTPS的一次经历
  6. 联想ideapad-330C 在Ubuntu18.04 上安装Realtek 8821CE无线网卡驱动
  7. centos7 升级最新版内核 并安装 bcc-tools
  8. zabbix--基础概念及原理
  9. 性能测试基础---LR运行设置
  10. C#各版本新增功能