samedi 28 octobre 2017

How to print out elements of multiset of pair

multiset< pair<int,pair<int,int>> >ml;
pair<int,pair<int,int>> p;
p.first=3;
p.second.first=5;
p.second.second=2;
ml.insert(p);

That's how I insert in my multiset of pair of pair But I don't know how to print out all elements in my multiset of pair of pair

Aucun commentaire:

Enregistrer un commentaire