|
![](/i/fill.gif) |
In article <399D27CE.F6D3DC58@ida.utb.hb.se> , Mikael Carneholm
<sa9### [at] ida utb hb se> wrote:
>> And just as another side note: What is the difference between a struct and
>> a class only containing public data members...?
>>
>
> As long as you don't want to inherit from that class: none....
Exactly, so why would it make any difference if it is a class or a struct?
After all, this is the idea behind the rewrite of POV-Ray 4.0: it is not
about calling every struct "class" now, as a matter of fact a lot of code
has to be changed to provide proper encapsulation. And this is the major
problem in the current POV-Ray core code <sigh>
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |