::模板是什么意思?

时间:2012-07-18 22:08:59

标签: c++ templates

  

可能重复:
  Where and why do I have to put the “template” and “typename” keywords?

从昨天开始,我看到C ++ 11代码使用类似ComplexTypeOrTypedef::template的代码,例如过去2小时,来自我看到的两个不相关的来源:

谷歌没有帮助我(它似乎并不关心我搜索中的冒号:``:: template c ++ 11`),StackOverflow搜索也没有,它非常令人沮丧!

这个神秘的::template是什么意思?

0 个答案:

没有答案