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

            Bug ID: 49173
           Summary: __cpp_lib_experimental_detect feature test macro not
                    defined despite detection idiom API support
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

It seems `__cpp_lib_experimental_detect` feature test macro is not defined in
Clang, despite support for detection idiom API as of November 2016
(https://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20161121/178052.html)

Here is a simple Wandbox example
(https://wandbox.org/permlink/zZy9wvmFk1x4hLLj) that shows the issue. Note that
GCC does define the feature test macro appropriately.

-- 
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