Is there a structure/container in C++ that would consider {1,2,2} and {2,1,2} equal?

后端 未结 0 1418
天涯浪人
天涯浪人 2021-01-29 05:48

I am trying to store values that could be seen as mathematical sets. As written above, in these sets {1, 2, 2} and {2, 1, 2} would be considered the same element.

I have

相关标签:
回答
  • 消灭零回复
提交回复
热议问题