view wisdom/raii @ 9917:62e6d759c7ed

<shachaf> ` echo $\'5137\\n5136\' >> share/scowrevs; sort share/scowrevs -o share/scowrevs
author HackBot
date Sat, 10 Dec 2016 03:52: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.