Section: 17.6.3.4 [new.delete.placement] Status: Dup Submitter: Herb Sutter Opened: 1998-12-15 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [new.delete.placement].
View all issues with Dup status.
Duplicate of: 114
Discussion:
The example in 17.6.3.4 [new.delete.placement] paragraph 4 reads:
[Example: This can be useful for constructing an object at a known address:
char place[sizeof(Something)];
end example]
Something* p = new (place) Something();
This example has potential alignment problems.
Rationale: