POV-Ray : Newsgroups : povray.off-topic : C++ destructor question : Re: C++ destructor question Server Time
3 Sep 2024 21:13:35 EDT (-0400)
  Re: C++ destructor question  
From: Darren New
Date: 6 Aug 2010 11:24:47
Message: <4c5c293f$1@news.povray.org>
Warp wrote:
>   You would have a pretty bad danger of memory leak if arrays wouldn't
> destroy their elements.

Yeah, I just wasn't thinking clearly, thinking "arrays aren't classes, so 
they don't have destructors."

-- 
Darren New, San Diego CA, USA (PST)
    C# - a language whose greatest drawback
    is that its best implementation comes
    from a company that doesn't hate Microsoft.


Post a reply to this message

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