http://llvm.org/bugs/show_bug.cgi?id=21180

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #1 from Richard Smith <[email protected]> ---
Thanks for the report! Your analysis is not exactly right; what's happening is
that the lambda closure type is an aggregate, and 'T instance{}' is performing
aggregate initialization. This is wrong by [expr.prim.lambda]p3: "This class
type is neither an aggregate nor a literal type."

Fixed in r219222.

-- 
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