Am 12.11.2013 18:13, schrieb Zhihao Yuan:

> BTW, iirc VC STL has the same issue.  But libstdc++ has an honorable
> history of supporting incomplete type in STL declaration.

A disservice, not honorable.

Nonstandard extensions, however convenient, are a pain when writing
portable code.  I am usually setting -std=c++11 -pedantic first up these
days to avoid pitfalls later. (or -std=c11)  And hope the compiler
actually complains.
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to