view wisdom/raii @ 7557:de4340b248dd

<Moon_> ./scriptadd echo leltest
author HackBot
date Wed, 27 Apr 2016 23:11:09 +0000
parents de3812789118
children bfd7a53531df
line wrap: on
line source

RAII means you allocate in the constructor and deallocate in the destructor. There is no 'initializer' involved.