Member Functions

void* allocate_node

(

std::size_t

size,

std::size_t

alignment

)

Effects:

A RawAllocator allocation function. It uses the nothrow operator new, if it returns nullptr, it behaves like new and loops calling std::new_handler, but instead of throwing std::bad_alloc, it throws out_of_memory at the end.