Wednesday, May 30, 2012

RAII or RIIA


Resource Acquisition Is Initialization


It is a programming paradigm where resources are acquired during initialization, when there is no chance of them being used before they are available, and released with the destruction of the same objects, which is guaranteed to take place even in case of errors. More here http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization

2 comments:

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.