view wisdom/raii @ 9948:01c4ffc5d485

<oerjan> slwd rules of wisdom//s:,:;:
author HackBot
date Mon, 12 Dec 2016 02:37:29 +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.