http://llvm.org/bugs/show_bug.cgi?id=10574
Summary: initializer_list should be disabled when generalized
initializers are not available
Product: libc++
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The initializer_list class should be disabled when generalized initializer
lists are not available as a language feature. The only way to construct them
in a conformant manner is via the language, and code written in C++03 to work
around the lack of generalized initializer lists may fail due to their
presence. The same code will fail in C++0x, but C++0x provides language
features (in particular, default template arguments on functions which allow
SFINAE in conversion operators) that allow the code to be limited to
containers.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs