Template functions that don't accept default arguments require you to always pass a concrete instance.
Didn't get this. Are you talking about the sort function, in contrast to priority_queue?
In that case, what default arguments does priority_queue accept?
I meant something like this:
https://pastebin.com/WLWG3Whh
Anonymous
Lengashe
Suka
klimi
Hanz
Pulkit
Arnold
Kezias
Mostafa
mito
\Device\NUL
Davy
olli
Jack 3
Pavel
Jamil