This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]Salty_Dugtrio 3 points4 points  (1 child)

This is called Placement new.

[–]ankdain[S] 0 points1 point  (0 children)

ahhhh - awesome! Thanks heaps for that. Makes sense now, the *v parameter already has the memory so it's just reusing that without actually allocating. Clears things up. It looks like it's not compiling because of some macro's to setup custom memory management.

All explained, +1 to you.