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: [libstdc++] Problems with deques (patch included)


Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> writes:

| |This unncessarily breaks ABI.  It is better to reorder the
| |base-initialiser-list insteads of the data member declaration.
| 
| 
| I deliberately reordered the data member declarations in such a way
| to remove an abi breaking change with respect to the deque class
| that is shipped with gcc 3.1. I believe abi changes with respect to
| different libstdc++ version should be minimized, therefore I suggested
| the patch.

I'm unclear with your explanation:  reordering the data member
declaration changes the object layout.  How can that minimize ABI
changes compared to reordering the base-intializer-list?

Thanks,

-- Gaby


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