On 5-3-2013 2:05, bearophile wrote:
But if you fear that, then I've added "private" to all global identifiers:
http://rosettacode.org/wiki/Simple_database#D

I have removed "private" again, because it's bad to program compromises.
This is a complete program, it's not a module, and it's not imported. No need 
for private things.

// this shouldn't happen

test.d

import simdb;

void fun() {
    auto db = load();
    // etc
    store(db);
}

Reply via email to