view wisdom/raii @ 9601:3677ea8894d7

<shachaf> ` rm -rf canary; mk \'canary//cat: canary: No such file or directory\'
author HackBot
date Wed, 02 Nov 2016 00:10:36 +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.