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

            Bug ID: 41061
           Summary: operator<=> fails on Windows with Visual Sutdio 2019
                    Preview
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++2a
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

When compiling code that uses std::strong_ordering using clang and Visual
Studio 2019 Preview 4.2, I get the following error message:

error : standard library implementation of 'std::strong_ordering' is not
supported; the type does not have the expected form





Sample test file:


#include <compare>

auto x = 0 <=> 0;

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

Reply via email to