[libstdc++] Problems with deques (patch included)

Gabriel Dos Reis gdr@codesourcery.com
Mon Jul 8 04:41:00 GMT 2002


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



More information about the Libstdc++ mailing list