编译器错误 C2446

“operator”:没有从“type1”到“type2”的转换

编译器无法将 type1 转换为 type2。 转换可能没有意义,因为它违反了 C/C++ 语义。