Just like we have tag for set and map,can we have tag for multiset,multimap,unordered_map and unordered_set
Is there any tag so that we can directly use it as multiset or multimap?
@Gurankit_Pal_Singh
What do you mean by tag exactly. You can use multiset, unordered_map, unordered_set, multimap as you use set and maps. Just include and in header file
no…i mean in policy based data structures, we use ‘null_type’ tag for sets, like here in this line . typedef tree< int , null_type , less , rb_tree_tag , tree_order_statistics_node_update > my_set; …is there any tag for multiset/multimap??
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.