POV-Ray : Newsgroups : povray.off-topic : C++ templates to get Java-style interfaces... : Re: C++ templates to get Java-style interfaces... Server Time
11 Oct 2024 09:18:03 EDT (-0400)
  Re: C++ templates to get Java-style interfaces...  
From: Darren New
Date: 21 Oct 2007 11:38:25
Message: <471b7271@news.povray.org>
Warp wrote:
> Darren New <dne### [at] sanrrcom> wrote:
>> (I'll also note there's a bunch of benefits to doing it the way Java 
>> does that C++ templates can't support, too, having to do with strong 
>> typing and dynamic loading and all that sort of stuff that C++ doesn't 
>> do. But that's off topic.)
> 
>   I don't understand what stops you from writing "interfaces" in C++.

Nothing. It just doesn't give you the same benefits that doing it with 
Java does, due to the nature of the compilation process and object code 
storage formats.

-- 
   Darren New / San Diego, CA, USA (PST)
     Remember the good old days, when we
     used to complain about cryptography
     being export-restricted?


Post a reply to this message

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