I don\'t want constructor called. I am using placement new.
I just want to allocate a block of T.
My standard approach is:
T* data = malloc(sizeo
T* data = reinterpret_cast(operator new(sizeof(T) * num));
Or just use std::vector and don't worry about these low-level memory details ;)
std::vector