[odb-users] erase of object in section

Andrew Cunningham odb at a-cunningham.com
Thu Mar 9 18:13:46 EST 2017


Hi Boris,

I have an object with members as below

#pragma db load(lazy) update(change)
    mutable odb::section                masssection_;
#pragma db section(masssection_)
    std::unique_ptr<CDBFloatMatrix>        massDistribMatrix_;


Before I erase the "containing" object do I need to load the section to
ensure the proper erasure  of the massDistribMatrix_ object?

I was assuming the answer is "no".

Andrew


More information about the odb-users mailing list