[odb-users] automatically detect abstract class instantiated from a template

Boris Kolpackov boris at codesynthesis.com
Mon May 14 11:18:37 EDT 2018

Sten Kultakangas <ratkaisut at gmail.com> writes:

> I'm considering making changes to the odb compiler making the above
> string_base definition unnecessary because it is possible to see that
> base<std::string> inherits base_common which is defined as an abstract
> database object.
> Is there a reason why the current odb release candidate does not detect
> such condition and requires explicit definition of the parent class as an
> abstract database object ?

Because dealing with unnamed entities sends complexity to the levels we
have no capacity to handle. But you are, of course, welcome to try ;-).


More information about the odb-users mailing list