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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to