Hi all,
I hope you are having a great day.
I was solving this problem, which is quite simple with the policy based Data Structure Ordered Set.
However, I wanted to create a Ordered Multiset, but I couldn't get it to work, as I could not erase from the resulting data structure.
Can someone please help me by giving me the code for the ordered_multiset which supports insertion,deletion, order_by_key, and size?
Thanks,
-BC