Created on 1998-12-15.00:00:00 last changed 314 months ago
Rationale (10/99): This is an issue for the Library Working Group.
The example in 17.6.3.4 [new.delete.placement] reads:
[Example: This can be useful for constructing
an object at a known address:
char place[sizeof(Something)];
Something* p = new (place) Something();
—end example]
This example has potential alignment problems. One way to correct it would
be to change the definition of place to read:
char* place = new char[sizeof(Something)];
Rationale (10/99): This is an issue for the Library Working Group.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2000-02-23 00:00:00 | admin | set | messages: + msg278 |
| 2000-02-23 00:00:00 | admin | set | status: open -> dup |
| 1998-12-15 00:00:00 | admin | create | |