Mercurial > repo
view wisdom/raii @ 10057:184e8a4c7025
<Zarutian> learn reference is dangling, sorry.
author | HackBot |
---|---|
date | Sat, 31 Dec 2016 04:01:39 +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.