[odb-users] Polymorphism with multiple header files

Konstantin Cherenkov k.cherenkov at gmail.com
Sat Dec 2 13:56:11 EST 2017


Hi guys,

I am trying to use odb with a polymorphic feature. An example
https://git.codesynthesis.com/cgit/odb/odb-examples/tree/inheritance/polymorphism
works fine.
Unfortunately, when I am splitting classes into different header files I
get an error `no_type_info`.

For example, if I will extract `contractor` class into separate header file
`contractor.hpp` then I will see this error.

Is it possible to use polymorphic classes with multiple headers files?


More information about the odb-users mailing list