view wisdom/raii @ 7850:ed98f2c14d01

<hppavilion[1]> mkx bin/culprits2//GOAT=`shuf -n1 share/scapegoats`; hg log --removed -- "$1" | grep summary: | sed "s/hppavilion\\[1\\]/$GOAT/g" | sed "s/ +/ /g" | sed "s/^ //" | awk \'{print substr($2,2,length($2)-2)}\'| sed "s/.$/\\x0F&/" | xargs
author HackBot
date Fri, 06 May 2016 03:18:20 +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.