I have a 2d vector.I have inserted its initial pairs.Now I want to insert any transitive pair in the original vector.Using c++ vector when I try to insert second time after comparing pairs they are not getting inserted.I am using push_back function.Please help.