STL Map with a Vector for the Key

后端 未结 4 953
刺人心
刺人心 2020-12-30 04:32

I\'m working with some binary data that I have stored in arbitrarily long arrays of unsigned ints. I\'ve found that I have some duplication of data, and am looking to igno

4条回答
  •  借酒劲吻你
    2020-12-30 04:38

    You will not have problems with that, as std::vector provides you the "==", "<" and ">" operators:

    http://en.cppreference.com/w/cpp/container/vector/operator_cmp

提交回复
热议问题