A class or struct is assumed to have a default constructor if and only if:
<<abstract>>
directive AND$adt
that doesn't implement IPersistable
) AND<<-dc>>
used) OR (it is not strict AND <<dc>>
used).
A $model
must have a reflected default constructor.
The following produces the compiler error
"Qualifier <<-dc>> invalid for a $model".
// generates error
$model+ X <<-dc>> {};
IPersistable
classes must have a reflected default constructor.
The following produces the compiler error
"IPersistable classes must have a default constructor".
// generates error
$class+ X <<-dc>> isa ceda::IPersistable {};