[LLVMbugs] [Bug 12117] Doesn't restrict list initializations to standard/ellipsis conversions for copy constructor

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 29 15:42:18 PST 2012


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

Sebastian Redl <sebastian.redl at getdesigned.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Sebastian Redl <sebastian.redl at getdesigned.at> 2012-02-29 17:42:18 CST ---
Well, this case works now too:

struct D {
  D(int);
};

struct C {
 template<typename ...T>
 C(C const& c, T...);

 C(D);
} gc{{1}};

so I'm closing this bug.

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