https://bugs.llvm.org/show_bug.cgi?id=52219

Joe Loser <joelose...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
                 CC|                            |joelose...@gmail.com
             Status|NEW                         |RESOLVED

--- Comment #1 from Joe Loser <joelose...@gmail.com> ---
`libc++` is correct I believe to fail to compile this program. The `operator<`
needs to be marked `const`.

https://godbolt.org/z/cMGG4v51a is a working link showing that marking
`operator<` as `const` successfully compiles the program.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to