This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: On empty member optimization on comparator in stl_tree...
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Sylvain Bougerel <sylvain dot bougerel dot devel at gmail dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 22 Oct 2008 10:25:47 +0200
- Subject: Re: On empty member optimization on comparator in stl_tree...
- References: <b12fbaca0810220009t3d5bbdd9vfa32307558789661@mail.gmail.com>
Sylvain Bougerel wrote:
> Sorry for all these questions, I'm just looking for answers in order
> to have a better understanding of the library and in order to get
> better at coding C++.
>
The code you can see now is just a "placeholder" for the actual
empty-member optimization which at some point has been quickly
attempted, then reverted the last minute before the ABI freeze, and now
cannot be properly implemented because of the ABI freeze itself. The
next occasion it will, if not earlier when the ABI will be certainly
broken in the C++1x library.
Paolo.