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: [RFC] V3 PATCH: Add support for aligned storage


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




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