POV-Ray : Newsgroups : povray.off-topic : Smalltalk become: : Re: Smalltalk become: Server Time
5 Sep 2024 11:21:25 EDT (-0400)
  Re: Smalltalk become:  
From: Darren New
Date: 31 Jul 2009 23:32:07
Message: <4a73b737$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.