Placement syntax: Difference between revisions

Content deleted Content added
mNo edit summary
KurtRaschke (talk | contribs)
Proposing article for deletion per WP:PROD. (TW)
Line 1:
{{dated prod|concern = [[WP:NOTHOWTO]]|month = November|day = 20|year = 2008|time = 19:05|timestamp = 20081120190517}}
<!-- Do not use the "dated prod" template directly; the above line is generated by "subst:prod|reason" -->
{{lowercase|title=Placement new (C++)}}
In the [[C++]] [[programming language]], the placement new is a form of the [[New_(C++)|new]] operator that allows object construction into an existing [[memory]] buffer. Unlike other forms of <code>new</code>, the new object does not have to be in heap [[memory]]. The [[Pointer (computing)|pointer]] returned by the placement new is the [[Pointer (computing)|pointer]] provided as an argument [[Type_conversion|casted]] to the type of the new object.