[RFC] V3 PATCH: Add support for aligned storage

Gabriel Dos Reis gdr@integrable-solutions.net
Thu Aug 1 10:52:00 GMT 2002


Jakub Jelinek <jakub@redhat.com> writes:

[...]

| > Other than that, looks good. Did you see the GNATS bug about alignment
| > on 16 byte boundaries, and Jakub's response that says this is not
| > possible for sizes above 8? You might want to document this, and test
| > the limits of aligned_storage.
| 
| Would it be possible to overload new operator here to call memalign(3)?

The extension I'm proposing is targetting memory with static or
automatic duration; operator new() will be of no help here, I'm afraid.

-- Gaby





More information about the Libstdc++ mailing list