POV-Ray : Newsgroups : povray.off-topic : C++ questions : Re: C++ questions Server Time
6 Sep 2024 23:20:15 EDT (-0400)
  Re: C++ questions  
From: Warp
Date: 24 Sep 2008 13:53:49
Message: <48da7ead@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> Does C++ check whether a pointer you're deferencing is zero? Or will it 
> just segfault?

  I don't remember for sure, but I think that the standard might say
something that if you access the data behind a null pointer the program
will be terminated.

  At least in practice this is so in all the most common systems.

-- 
                                                          - Warp


Post a reply to this message

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