POV-Ray : Newsgroups : povray.off-topic : C++ question : C++ question Server Time
29 Sep 2024 13:24:09 EDT (-0400)
  C++ question  
From: Darren New
Date: 8 Apr 2009 16:15:57
Message: <49dd05fd$1@news.povray.org>
How is it possible to invoke a virtual method that wasn't defined?  I.e., I 
have a superclass that declares
   void abc(int) = 0;

What's happening that I can instantiate a child of that class without that 
method defined, and then try to invoke the method? As far as I understand, 
the type system should be preventing that, shouldn't it?

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

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