Replies: 1 comment
-
The index doesn't make much sense for unordered sets, but for ordered they may. If you start from the middle of the set, you will have to know at which index to start in the set if you need to retain index vs set element. (sets does not have random access like vectors). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to access both the elements as well as it's index for cset_int/csset_int. The type of set doesn't matter, as long as the requirements are fulfilled.
Beta Was this translation helpful? Give feedback.
All reactions