automatic function call after closing block

Saaa empty at needmail.com
Sat Sep 20 09:15:17 PDT 2008


I'd like the following:

texture.bind() //class texture, method bind.
{
    ..
} //here texture.unbind would automatically be run.

Is this possible?






More information about the Digitalmars-d-learn mailing list