Re: Are clang++ and libc++ compatible?

From: Matthias Andree <matthias.andree_at_gmx.de>
Date: Tue, 12 Nov 2013 22:28:32 +0100
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.
Received on Tue Nov 12 2013 - 20:28:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC