[LLVMbugs] [Bug 10715] New: No ‘has_feature’ constant for explicit operator conversions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Aug 21 04:29:08 PDT 2011


           Summary: No ‘has_feature’ constant for explicit operator
           Product: clang
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: 691D2C6C-B023-46A5-B1D7-ACCBA4713A87 at uuid-mail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

I couldn’t find a way to test if clang supports explicit operator conversions,
i.e. the explicit keyword in front of ‘operator bool’ and similar.

I am working on code where a subset is built with GCC so I need a compatibility
macro for this keyword.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list