[LLVMbugs] [Bug 13043] New: Too many overloaded operators in the overload set, if argument type is scoped enumeration and inside SFINAE context
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jun 7 01:36:26 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13043
Bug #: 13043
Summary: Too many overloaded operators in the overload set, if
argument type is scoped enumeration and inside SFINAE
context
Product: clang
Version: 3.0
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: lunow at math.hu-berlin.de
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 8694
--> http://llvm.org/bugs/attachment.cgi?id=8694
testcase
Testcase (attached) compilation and execution yields
C:\dev\projects\compiler test>clang++ -std=c++11 -Wall enum.cpp
C:\dev\projects\compiler test>a.out
#1 for X
The expected behaviour is (according to resolution of bug 13018 and
[over.match.oper]p3)
C:\dev\projects\compiler test>a.out
T::a | T::a undefined for X
--
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