Slime wrote:
> Seems like you can do this in C/C++ by just swapping a and b... then all
> pointers (and references) to a effectively point to b and vice versa.
>
> Or maybe I misunderstand the feature.
Works great, as long as they're the same type. Try swapping an array of
integers with a socket.
--
Darren New, San Diego CA, USA (PST)
"We'd like you to back-port all the changes in 2.0
back to version 1.0."
"We've done that already. We call it 2.0."
Post a reply to this message
|