From: Ned Konz Date: 2001-09-28T01:48:57+09:00 Subject: [ruby-talk:21780] Re: Transparent Proxies On Thursday 27 September 2001 07:32 am, Jason Voegele wrote: > C++ tends to do this by allowing pointers to "fault" and catching the > exception. I don't think I can do this in Ruby, and I'm not sure that > I'd want to anyway. There is no portable way to do this in C++. The only legal data pointers in Standard C++ are either =0 or point to a real object. Some vendors (Microsoft comes to mind) have provided handling of pointer faults allowing conversion into C++ exceptions but it is by no means possible to do this in all C++ implementations. -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com