On 10/16/12 5:38 PM, H. S. Teoh wrote: > I was thinking probably a bool[void*] should work as a way of keeping > track of what has already been copied, so a simple depth-first traversal > should work. Should be void*[void*] to also get the actual new location. Andrei