I am trying to convert a min-heap priority queue to return as a vector of ints. Is this type conversion is possible in C++;