I want to insert an integer value and a pair in a multiset.
So I declared it as:
multiset < int, pair < int, int> > mp;
int m,n,p;
To insert in multiset I tried this :
mp.insert(make_pair(m, make_pair(n,p))); // Compile time error
But its giving compile time error... Could someone please suggest the correct method to implement it.