[squid-dev] FYI: the C++11 roadmap

Amos Jeffries squid3 at treenet.co.nz
Fri Nov 21 03:23:38 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/11/2014 5:02 a.m., Kinkie wrote:
> I support the idea and timeline. We probably want to choose what 
> features we want to introduce, starting from the ones being most 
> compatible / less controversial. E.g. nullptr is available since
> gcc 4.4, it seems. It's syntactic sugar, but it'll help.
> 

We should be able to use anything on this list which is marked 4.3 or
4.4, <https://gcc.gnu.org/projects/cxx0x.html>.

 (Note that nullptr is not supported until 4.6. We have the libcompat
shim to cope with that. Just use NULL as before.).

Thing marked YES on this list
<https://gcc.gnu.org/gcc-4.4/cxx0x_status.html> are probably usable,
but since it was draft work there were changes to a few features in
later versions.

NOTE: we also seem to be hitting some STL differences.

The current build failure on CentOS 7 appears to be that the RHEL STL
differs from the official published documentation for that version.
Namely that std::list::erase() takes a const_iterator, the RHEL
templates still have it taking a non-const.

Amos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUbrA6AAoJELJo5wb/XPRjpEUH/2UuxwCdBdq9vmLfRjkOd5gy
QF5d/ypHFH7Bl5mVih29e6Pfb7YTAVJnQgcKzHdGIk/33KZMSKqk87Niri8uuIjJ
EpnDKlcmenauR+k8m6K44fbyNJFHDJrRMG+1MPo466BDtmeNkxigH5z3QsAktsgh
106GVzUqniVVJ/GGnVQwexo9RC3CxIFPQ4SuXEu95l4IglBtJcDFaR0g4AFfbkBK
8GpjYIqJX3RDcbxzX4zQUmgEWzTH5v4FDArw/Uo1UKmq6p4/w+/lrpqnMXqNheZo
DK1w19BfN9k84q5ASyX2+I9BvboStJnalWbXeQL7fIzko7gt+BA+OrmiRjzHIpI=
=Kof5
-----END PGP SIGNATURE-----


More information about the squid-dev mailing list