This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] libstdc++/56785 reduce space overhead of nested tuples


On Fri, Jan 16, 2015 at 4:23 PM, Jonathan Wakely <jwakely@redhat.com> wrote:
> This replaces the current empty _Tuple_impl that terminates the
> recursive inheritance hierarchy, instead adding the extra code to the
> last base class that holds data so that the recursion terminates there
> instead.
>
> The purpose of this is to avoid nested tuples having two instances of
> the same _Tuple_impl<N> base class, which cannot be placed at the same
> address and so take up space despite being empty.
>
> Tested x86_64-linux, committed to trunk.

This may have caused:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64695

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]