digitalmars.D - placement new with void[] instead of void*
- Andrei Alexandrescu (5/5) Feb 14 2010 I'm thinking of allowing or even restricting placement new to accept
I'm thinking of allowing or even restricting placement new to accept values of type void[] for the underlying storage of the object. That allows bounds checking to make sure that the object fits. I even wonder whether certain uses of placement new would work in safe code. Andrei
Feb 14 2010