view wisdom/raii @ 6501:6ca43f5f4d7d

<Melvar> ` sed -i -e \'s/inp[)]$/unicode(inp, locale.getpreferredencoding())).encode(locale.getpreferredencoding())/\' -e \'2s/$/, locale/\' bin/loudly
author HackBot
date Sun, 03 Jan 2016 11:48:31 +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.