Yes. clear is in object.d so it will always be available.
"NewName" wrote in message
news:jg2fdj$2rmk$1...@digitalmars.com...
> Thanks Daniel.
> So clear() is a function thing, so my delete mmf; will look like
> clear(mmf); am I
> right?
>
Thanks Daniel.
So clear() is a function thing, so my delete mmf; will look like clear(mmf); am
I
right?
"NewName" wrote in message
news:jg2du7$2nun$1...@digitalmars.com...
> Hello everybody.
> So I heard that `delete' is being deprecated?
>
When delete is gone, you will still be able to destroy class instances with
'clear' from phobos. Like delete, it runs the destructor on the class, it
just d
Hello everybody.
So I heard that `delete' is being deprecated?
If that's true, what can I do to close an MmFile?
Or is there another way to create an MmFile object, other than with `new', so
that it gets destroyed when out of scope?
My problem is, I need to reopen the same file outside an if() bl