view wisdom/raii @ 7415:588ebe6ba2d8

<b_jonas> learn norm is the name of the functions in the Eigen and opencv libraries to compute the 2-norm of a vector, and the name of the function in C++ to compute the squared 2-norm of a complex number
author HackBot
date Sun, 17 Apr 2016 20:17:21 +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.