This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: empty base optimization vs. final class or virtual base


Jonathan Wakely <jwakely.gcc@gmail.com> writes:

> If you have at least two members, one or more of which might be empty,
> then store them in a std::tuple to automatically use the EBO if
> possible.

Thank you for this advice.

Attachment: pgp00000.pgp
Description: PGP signature


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