www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - std.mmfile

I'm looking into std.mmfile for one of my new D projects, and I'm
concerned about its API: there is no way to explicit unmap the file??
The docs say it will be unmapped when deleted, but isn't the delete
operator deprecated? And the GC does not guarantee class dtors will ever
get called. So how would I control when the mmfile is unmapped??

Currently I'm thinking of just using the C library mmap instead. :-(


T

-- 
Computerese Irregular Verb Conjugation: I have preferences.  You have biases. 
He/She has prejudices. -- Gene Wirchenko
Aug 07 2013