但光有这句也看不出错啊,lz最起码要有上下文。
lz可以参考一下error C2040的定义:
'operator' : 'identifier1' differs in levels of indirection from 'identifier2'
An expression involving the operators has inconsistent levels of indirection.
包含操作符"operator"的表达式,操作不一致。比如定义了函数f(int,int),却调用f(2);
不知道lz是什么情况。