highway icon indicating copy to clipboard operation
highway copied to clipboard

Resolve TODO in aligned_allocator

Open scuzqy opened this issue 6 months ago • 1 comments

And updated corresponding test. AllocateAligned was designed to take POD types only.

I also removed TestAllocateAlignedObjectWithoutDestructor because objects with constructor/destructor are obviously illegal input. btw, restriction here can be one is_trivial, perhaps?

scuzqy avatar Aug 09 '24 17:08 scuzqy