POV-Ray : Newsgroups : povray.off-topic : c++ memory question : Re: c++ memory question Server Time
11 Oct 2024 11:12:46 EDT (-0400)
  Re: c++ memory question  
From: Samuel Benge
Date: 2 Oct 2007 19:14:17
Message: <4702d0c9$1@news.povray.org>
Fredrik Eriksson wrote:
> Only objects that are dynamically allocated - i.e. with 'new' - need to 
> be explicitly deallocated. You may not need to use 'delete' at all if 
> you use standard library containers and/or smart pointers.

Okay, it's good to hear it from several people.

I use a DirectX game engine which requires a few "news", but I always 
delete them when I am through with 'em.

Sam


Post a reply to this message

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