Boost logo

Ublas :

Subject: [ublas] freeing uBLAS arrays
From: Eduardo Hernandez (errhernandez_at_[hidden])
Date: 2017-09-20 14:29:40


Please excuse this probably simple question, but I couldn't find the answer
anywhere. The question is: do uBLAS arrays (e.g. vector, matrix) deallocate
themselves when going out of scope, or should one use shared_ptr s to them
to make sure they are deallocated?

Thanks, and sorry if this is trivial; I'm new to boost, and also to c++ ;-)