From: David Alan Black Date: 2004-04-29T22:24:06+09:00 Subject: Re: Pointers in Ruby Hi -- Gregory Millam writes: > Received: Thu, 29 Apr 2004 21:59:03 +0900 > And lo, David wrote: > > > > I am coining a Pointer class in Ruby. Kind of a C pointer, more > > > like a C++ smart pointer actually. Should work for any lvalue. > > > > > > > Can you give an example of something you would need the extra layer > > of reference for? > > I'd imagine Fixnums and other immutable objects. But writing a > wrapper class is easy enough, without a pointer class. Perhaps the > OP can see a reason for such a pointer where we can't. Yes -- hence my question :-) David -- David A. Black dblack@wobblini.net