
3 Aug
2009
3 Aug
'09
12:33 a.m.
On Mon, Aug 3, 2009 at 5:44 AM, Frank Mori Hess <fmhess@speakeasy.net>wrote:
On Saturday 01 August 2009, Mathias Gaunard wrote:
I personally never understood why they tied the type into the allocator. Having just the size and alignment would be so much better.
It seems to me any benefits of such a scheme would be non-portable, since the sizes and alignments of two types may be the same with one compiler (setting) and different with others.
I don't see a problem. As long as the objects are created with correct alignment for a given compiler (setting), what that alignment is, is not important.