POV-Ray : Newsgroups : povray.off-topic : Generics annoyance : Re: Generics annoyance Server Time
4 Sep 2024 15:19:54 EDT (-0400)
  Re: Generics annoyance  
From: Warp
Date: 14 Apr 2010 15:38:38
Message: <4bc619be@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Darren New wrote:
> > I think there's a reasonable "ToString()" for every class. 

> Oh, and it's definitely helpful to have a class to which everything else can 
> be cast. Imagine C if you didn't have the functionality of void*.

  It's useful mostly if you have some way of casting back to the original
type.

-- 
                                                          - Warp


Post a reply to this message

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