https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96269
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Your operator== should be const-qualified.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96269
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Your operator== should be const-qualified.