POV-Ray : Newsgroups : povray.off-topic : Teach yourself C++ in 21 days : Re: Days 5- Server Time
30 Jul 2024 00:24:01 EDT (-0400)
  Re: Days 5-  
From: Invisible
Date: 20 Apr 2012 03:44:36
Message: <4f9113e4$1@news.povray.org>
>> No. A new version is created for each used *type*.
>
> Technically, I think a new copy of the function is generated/compiled
> for each compilation unit that uses it for each type, but the different
> versions for the same type are merged, right?

I'm presuming that's why it's implicitly inline - to allow the merging.


Post a reply to this message

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