[LLVMbugs] [Bug 15299] New: tuple constructor should be marked implicit
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Feb 19 08:21:07 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=15299
Bug ID: 15299
Summary: tuple constructor should be marked implicit
Product: libc++
Version: 3.2
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: hhinnant at apple.com
Reporter: gonzalobg88 at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 10039
--> http://llvm.org/bugs/attachment.cgi?id=10039&action=edit
Minimal example
The attached code should not compile.
This should not compile (but does):
std::tuple<double> f() { return { 2.0 }; }
This should compile (and does):
std::tuple<double> f() { return std::tuple<double>{ 2.0 }; }
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130219/811e170a/attachment.html>
More information about the llvm-bugs
mailing list