POV-Ray : Newsgroups : povray.off-topic : Teach yourself C++ in 21 days : Re: Days 1-5 Server Time
29 Jul 2024 22:30:53 EDT (-0400)
  Re: Days 1-5  
From: Warp
Date: 20 Apr 2012 08:18:50
Message: <4f91542a@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> If you could #include <abc.o> you'd get rid of all the silliness of 
> declaring inline functions multiple times, function prototypes, and all that 
> kind of BS.

  So you would be simply changing the dependency to a .h file to dependency
to a .o file. What would be the relevant difference?

  Also, I assume you understand that templated code cannot be precompiled
into an object file? They need to be recompiled each time they are used...
which is kind of the whole idea.

-- 
                                                          - Warp


Post a reply to this message

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