阅读背景:

std::映射使用用户定义的类型作为键

来源:互联网 

I'm wondering why I can't use STL maps with user-defined classes. When I compile the code below, I get this cryptic error message. What does it mean? Also, why is it only happening with user-defined types? (primitive types are okay when it is used for the key)I'm wondering why I can't use STL maps with use




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: