view wisdom/raii @ 7150:d82534943967

<b_jonas> `` echo $\'#!/bin/sh\\nexec git reset --hard HEAD^\\n\' > bin/revert
author HackBot
date Sun, 06 Mar 2016 23:05:43 +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.