Anonymous user
C++: Difference between revisions
Fixed link to liballoc
[unchecked revision] | [unchecked revision] |
(Add note that the global constructors section needs more work) |
(Fixed link to liballoc) |
||
Line 446:
You could also let '''new''' use '''calloc''' (allocate and zero). This way, newly allocated memory will always be zeroed (thus, not contain garbage). The standard '''new''' implementations do however not clear the returned memory.
An easy malloc implementation you can port to your OS is [
=== Placement New ===
|