you have to operator< because this structure store your data like AVL ( balance tree ).