由于C++没有"通用成员函数(generic member function)"的类型,所以我把所有类型的成员函数都转化为一个在代码中未定义的CGenericClass类的成员函数。
基于16个网页-相关网页
如你所见,类的成员变量的类型是通用类型,但是你可以改进产生器,使之知道一个变量应该包含一个数字或一个函数。
As you can see the type of the class variables is generic, but you can improve the generator to understand if a variable should contain a number or a function.
然后给出一种通用学习规则,来学习成员函数中的参数。
Then a general learning rule of the coefficients is proposed.
应用推荐