[Bug libstdc++/96269] optional comparison with nullopt fails

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 21 15:10:35 GMT 2020


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.


More information about the Gcc-bugs mailing list