MFC dictionary collection with key unicity and ordering by position

前端 未结 5 1614
深忆病人
深忆病人 2021-01-26 15:18

Looking at table on http://msdn.microsoft.com/en-us/library/y1z022s1%28v=vs.80%29.aspx#_core_collection_shape_features

I can not see a MFC collection for the purpose I n

5条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-26 16:02

    MFC doesn't provide a container that does what you need, but you can use std::map or std::set instead. Each will keep the keys unique; which you choose will depend on whether you want your key separated from the payload or integrated into a single object.

提交回复
热议问题