highway
highway copied to clipboard
Resolve TODO in aligned_allocator
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?