[odb-users] Making a static pointer transient doesn't work

Boris Kolpackov boris at codesynthesis.com
Thu Mar 24 03:17:30 EDT 2016


Hi Alain-Serge,

Alain-SergeNagni <asnagni at yahoo.com> writes:

> I'm evaluating ODB and I'm trying to make a static pointer transient by
> using this ODB pragma tag in the class interface (the .hpp file):
>            #pragma db transient 

Static data member are not stored in the database so you shouldn't declare
them transient. I've updated the manual to clairfy this.

Boris



More information about the odb-users mailing list