
19 Jan
2005
19 Jan
'05
5:43 p.m.
Jason Hise wrote:
Dave Handley wrote:
My recommendations for things to look at include:
1) Allocate using malloc as another creation policy
I'm looking at Loki's library and thinking that it has a major bug. Doesn't his implementation have the same alignment problems that my original static allocator did? Wouldn't it be impossible to ensure that memory allocated by malloc was aligned properly?
The memory allocated by malloc and ::operator new is always properly aligned for any type (sometimes excluding nonstandard types such as __m128).