Mercurial > repo
changeset 5854:de3812789118
<oren> learn RAII means you allocate in the constructor and deallocate in the destructor. There is no \'initializer\' involved.
author | HackBot |
---|---|
date | Tue, 21 Jul 2015 01:07:30 +0000 |
parents | 0a7c7fed3f06 |
children | da73eedb89af |
files | wisdom/raii |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/wisdom/raii Tue Jul 21 00:55:25 2015 +0000 +++ b/wisdom/raii Tue Jul 21 01:07:30 2015 +0000 @@ -1,1 +1,1 @@ -RAII is Resource Allocation in the constructor... wait wait uh... Is uh, Initialization +RAII means you allocate in the constructor and deallocate in the destructor. There is no 'initializer' involved.