[odb-users] reuse inheritance with abstract base
Paul Harrison
paul.harrison at manchester.ac.uk
Wed Mar 20 03:54:56 EDT 2013
On 2013-03 -20, at 07:38, Paul Harrison wrote:
> Hi,
>
> I am trying to use reuse inheritance with an abstract base
>
>
> and on compilation I get
>
> band_table_entry_p.h:67:56: error: pointed-to class '::BT_Local_Oscillator_P' is abstract
>
>
> for a class that is trying to use a pointer to the concrete class thus
>
> std::list< lazy_shared_ptr<BT_Local_Oscillator_P> > _los;//!< LO settings
>
>
> is this expected behaviour? - I note that the documentation says that the abstract class cannot be pointed to, but I am clearly pointing to the concrete class.
I have just realised that although my class was not "ODB abstract" it was still C++ abstract - correcting that allows the ODB compilation to complete successfully...
Paul.
More information about the odb-users
mailing list