From: Elias Athanasopoulos Date: 2003-12-03T03:31:21+09:00 Subject: Re: Ruby - C++ extension On Thu, Nov 27, 2003 at 06:21:54AM +0900, Paul Brannan wrote: > On Sun, Nov 23, 2003 at 05:44:39PM +0900, Elias Athanasopoulos wrote: > > As far as C++ Type Casting is concerned I am thinking of creating > > to_xxx methods. I.e. > > > > foo = (Foo *) Bar->dump(); > > This is not C++ type casting; this is a C-style cast. In C++, you > generally want to avoid C-style casts because C-style casts are far too > powerful (they let you lie to the compiler far too easily). Please > consider using static_cast<> and dynamic_cast<> whenever possible. Thanks for all the replies in my question. I was to busy to answer. My apologies for the delay. Regards, -- University of Athens I bet the human brain Physics Department is a kludge --Marvin Minsky