阅读背景:

具有非类型参数的函数模板

来源:互联网 

I am very new on C++ templated code. could you please educate me on the following questions: If I want to use function template (that only has non-type parameters) to define member function for a class, do I also need to define template for that class too. or in other word, does C++ allow user to define member function template (that has only non-type parameters) within untemplated class. for instance:I am very new on C++ templated code. could you




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: