Default constructors

A class or struct is assumed to have a default constructor if and only if:

$model must have default constructor

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 must have default constructor

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 {};