[odb-users] relationship always in a consistent state
boris at codesynthesis.com
Wed Nov 27 08:27:51 EST 2019
blob blob <blob84 at gmail.com> writes:
> I mean setting the pointers in the C++ object model, I want to update both
> pointers at the same time, like the 6.2 of the odb manual.
The best you can do is make the data members private and then
have a modifier in one class that sets both pointers (you will
also need to make this class a friend of the other class so that
it can access the private member).
More information about the odb-users