[odb-users] Issue in derived class callback

Domenico Di Iorio ddiorio at jmawireless.com
Mon Mar 29 01:24:22 EDT 2021

Good morning,
Issue has been found when registering callback in derived class.
Apparently it overrides the one registered in base class.
Is it already known?

#pragma db callback(cb1)
class Base {

#pragma db callback(cb2)
class Derived : public Base {

cb1 gets overridden by cb2.

Di Iorio Domenico

More information about the odb-users mailing list