Title
[tiny] Core issue 476, Determining the buffer size for placement new
Status
nad
Section
[expr.new]
Submitter
Ben Hutchings

Created on 2004-09-14.00:00:00 last changed 118 months ago

Messages

Date: 2014-07-01.21:57:43

See Core issue 476.

Discussed in Rapperswil 2014. EWG thinks there's no design defect here, and suggests that a placement array new should not have such implementation-defined overhead. EWG suggests that CWG should clarify that placement array new T[n] needs n*sizeof(T) bytes of memory, and clarify that an operator delete must only be called if the corresponding operator new has been called. Ask James Dennett/Chandler Carruth for any more feedback.

History
Date User Action Args
2014-07-01 21:57:43adminsetstatus: open -> nad
2004-09-14 00:00:00admincreate