Open tarn15h opened 5 months ago
The typing in PriorityQueue does the job, but it is very hard to understand the intention.
PriorityQueue
It is recommended to use declare to cope up with multiple constructors, which should achieve the same thing, and more readable.
declare
Thank you for the suggestion.
Yes, that's exactly what I'd like to do, which is more standard. I think it's a right time to do it in case it gets too hard to refactor them.
The typing in
PriorityQueue
does the job, but it is very hard to understand the intention.It is recommended to use
declare
to cope up with multiple constructors, which should achieve the same thing, and more readable.