view wisdom/raii @ 9705:a8c7db5d48cc

<shachaf> mkx bin/re-s//F="$(lastfiles)"; mv "${F}" "${F}s"
author HackBot
date Thu, 17 Nov 2016 17:03:37 +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.