Dne 27.8.2016 v 02:04 pineapple via Digitalmars-d-learn napsal(a):

I would just love if I could express this as something more like


    context(auto file = File("some_file.txt")){
        file.write();
    }


void main(string[] args)
{
    with(File("some_file.txt"))
    {
        write();
    }
}

Reply via email to