freeing uBLAS arrays
Eduardo Hernandez via ublas <[email protected]>
| Newsgroups | gmane.comp.lib.boost.ublas |
|---|---|
| Message-ID | <CALrQZ85iuVHGR0XY+LXYaAU==iGvk2V96k5rW2AXpER-o6iFew@mail.gmail.com> |
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++ ;-)