AW: [odb-users] Problem with session cache and weak_ptr

Marcel Nehring mne at
Mon May 23 06:46:17 EDT 2016

Hi Boris,

so a lazy pointer is meant to store a transient object (if no database object was provided) and a persistent object (if a database object was provided) and handle the differentiation internally?
So if persisting the object before assigning it (as you suggested) is not an option, one could later reset it or update the ID? Is this the expected usage?


More information about the odb-users mailing list