您使用的是Microsoft Visual Studio Express 2005吗?我在这里看到了相同的 错误 (不过你的代码)。由于某些原因,似乎VS没有正确应用SFINAE (我猜)。或者它以某种方式完全相关 不相关的代码(你的逗号与普通的系统逗号,应该是 使用 in assign)。 我认为这是编译器中的一个错误。 Are you using Microsoft Visual Studio Express 2005? I see the sameerrorhere (not with your code, though). It seems VS is not applying SFINAEcorrectly for some reason (I guess). Or it is somehow relating totallyunrelated code (your comma vs. normal ystem comma, which should beusedin assign).I think it is a bug in compiler. 我想是的。 非常感谢, FM。 I guess so. thanks a lot,FM. 这篇关于逗号超载语义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-21 23:01