www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: file i/o in a variety of languages

reply bearophile <bearophileHUGS lycos.com> writes:
 I don't see the need of the open() method, it looks like noise in the File
API. Do you know its purpose?

If no one is able or has time to give me an answer I may file a bug report for removal of that method. Bye, bearophile
Aug 27 2010
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 8/27/10 12:09 PDT, bearophile wrote:
 I don't see the need of the open() method, it looks like noise in the File
API. Do you know its purpose?

If no one is able or has time to give me an answer I may file a bug report for removal of that method. Bye, bearophile

The open() method saves on reallocating the refcounted structured stored inside the File. Andrei
Aug 27 2010