int main(...)
{
   struct abc
   {
    template<typename T> f(T a){};
   };
}上面这个函数定义,在VC++7.0(VS.NET2002)编译通过,没有任何警告和错误,运行也
正常。
但是在VC++7.1(VS.NET2003)将出现一个编译错误:
error C2892: local class shall not have member templates查找帮助不果,请问,这是怎么回事?然道以前写的代码都要改过来吗?但是用到这个玩意的地方极难以改过来。