[Development] Error "invokes deleted constructor" while building Qt5 with clang and libc++

Thiago Macieira thiago.macieira at intel.com
Mon Dec 3 22:43:40 CET 2012


On segunda-feira, 3 de dezembro de 2012 19.38.36, Francisco Lopes wrote:
> Well, in any way, according to what has been pointed from the standard, any
> assignment initialization would require a copy construction, not mattering
> whether it contains braces, even if it's elided thereafter for runtime.
> 
> Well, this is confuse.

Looks like a defect in the standard then. It requires initialisation with =.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121203/efd642bd/attachment.sig>


More information about the Development mailing list