POV-Ray : Newsgroups : povray.off-topic : Wahahahaha! : Re: Wahahahaha! Server Time
11 Oct 2024 23:10:36 EDT (-0400)
  Re: Wahahahaha!  
From: Warp
Date: 8 Nov 2007 20:39:57
Message: <4733ba6d@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Invisible wrote:
> > We have a buggy program that keeps throwing exceptions due to a "pure 
> > virtual function call".

> Usually that means you're invoking a dynamically-bound method for which 
> there is no definition. I didn't know you could get that in C++ as the 
> first mistake the program makes.

  I think that error happens if you try to call a pure virtual function
in the initialization list of the base class constructor. (What I really
don't understand is why it isn't a compile-time error...)

-- 
                                                          - Warp


Post a reply to this message

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