[odb-users] callback specifier to point to standalone free function instead of member

MM finjulhich at gmail.com
Fri Sep 12 11:17:28 EDT 2025


Hello,
As part of my use of ODB, I generally managed to keep it hidden from my
application objects.
Headers that use ODB pragmas exist in different directories, compilation of
odb files is separated (though dependent).
If 1 day I decide to forgo persistence entirely, the lift should be light.

I use callbacks however, and at the moment, the specifier can point to a
member function of the class.

I've made a request before to have it point to a free
standalone function which then lets do the needful inside the odb
directories to keep separation clean.
Is that doable?

Rds,
MM


More information about the odb-users mailing list