priority_queue: add values() method