Re: [GnomeMeeting-list] can´t compile



El mié, 27-02-2002 a las 12:48, Sven Kuehn escribió:
> btw.:
> in C we only had ()
> in C++ we have: static_cast<>() const_cast<>() reinterpret_cast<>() and 	 
>                 dynamic_cast<>()
> in good C++ we don´t need them at all! ;-)
I agree that we shouldn't be using () to do casts in gm code, but I
can't agree that C++ doesn't need casts.
Good C++ uses casts when it's appropiate, either static, const, dynamic
and even reinterpret. You just have to use good judgment to know is a
cast is the right answer.
> 
> 
> Sven
> 






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]