[odb-users] weak_ptr relations

dieter.govaerts at bricsys.com dieter.govaerts at bricsys.com
Fri Mar 18 04:55:22 EDT 2016


Hi,

Concerning the initial example of "6.4 Lazy Pointers", it explains that when loading an employee object then the associated employer object and in turn all employer associated employees get loaded. I understand that. But the employer.employees_ vector uses std::weak_ptr, thus where are the actual employee objects kept, or are these indirectly loaded employees directly send into oblivion?

Regards,
Dieter Govaerts 




More information about the odb-users mailing list