|
![](/i/fill.gif) |
In article <cja### [at] netplex aussie org> ,
Christopher James Huff <cja### [at] earthlink net> wrote:
> What do you need the STL for? Reference counting is trivial to
> implement.
Yes, reinvent the wheel. And then try to add it in a clean manner in
POV-Ray. The problem of not being able to use "real" classes as members of
most data structures makes it a real hassle. It is about getting a clean
well-working implementation. It isn't about "Reference counting is trivial
to implement." at all.
> I'm not sure what use it would be for this though...if a file
> is closed inside a macro, it will still be invalid, even if there are
> still references to it. And how could it be destroyed while in use by a
> macro?
It could be closed, couldn't it? So what happens if you close it inside the
macro and the try to use it after the macro returns? You run into tons of
problems due to the current structure of the code, and you should have an
idea how many there are given that you have had a look at the source code
before...
Thorsten
____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povray org
I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |