In my code it's showing some kind of error , if there is any other way please let me know.
Asked
Active
Viewed 104 times
0
-
How you can change set to multi set? – TonySalimi May 24 '20 at 09:44
1 Answers
0
A tree<int, null_type,less_equal<int>, rb_tree_tag,tree_order_statistics_node_update>
is not a multi set. It is ill-formed. less_equal
does not meet the requirement Compare
You should use std::multiset<int>

Caleth
- 52,200
- 2
- 44
- 75
-
I think you get it wrong , actually I am using `tree
, rb_tree_tag,tree_order_statistics_node_update>` .......... instead of `less – Supandeep singh May 24 '20 at 20:44` , I am using `less_equal ` -
@Supandeepsingh Oh. There is no multi_set with `__gnu_pdbs`. You still have to use something that satisfies *Compare* – Caleth May 24 '20 at 21:24