https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100226

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The template argument '_Compare = paircmp' shows the type user as the
comparison object.

So paircmp::operator() needs to be const.

Reply via email to