阅读背景:

是否可以在不创建密钥副本的情况下将结构的成员用作地图中的键?

来源:互联网 

Consider the following structure:

考虑以下结构:

struct MyClass{
    int x;
    double y;
    std::string key;
    MyClass (int const x_, double const y_, std::string const& key_) :
    x(x_), y(y_), key(key_){}   
};
s



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

分享到: