C++ map first second

来源:互联网 发布:怪物猎人ol mac版 编辑:程序博客网 时间:2024/06/09 16:34

std::map<XnUserID, XnPoint3D>  p;

for(auto i = p.cbegin(); i != p.cend(); ++i) 


           s= p->second;   //其中second是XnPoint3D的值,first是XnUserID的值,

0 0
原创粉丝点击