i made boost multi index set of several indices most of them are ordered non unique.
now i need to make for loop over the set using iterator for ordered non unique index but i need to skip the structs with same non unique value.
in other words i need to loop only using the unique values of this ordered non unique key.
is there any way to identify only the unique values in non unique key and use this unique values to loop??
i did not put code because it is the method in general i am looking for.
i know about std::unique but i do not want to make another container as the original one is being modified during making the container which make synchronization difficult for me.