[cfe-dev] deque<Incomplete Type> support

Dimitry Andric dimitry at andric.com
Tue Nov 12 11:22:47 PST 2013


On 12 Nov 2013, at 18:35, Zhihao Yuan <zy at miator.net> wrote:
> is broken, while libstdc++ supports it.
> 
>  struct A {
>    deque<A> q;
>  };
> 
> I regard this as a QoI issue, and a somewhat important one.
> 1. vector, map support it; 2. no workaround unless discarding
> user's intended API.

This is not allowed by the standard, why would you want to promote using undefined features?  Better get libstdc++ to conform. :-)

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131112/1c4bf4cd/attachment.sig>


More information about the cfe-dev mailing list