> class Bar > {} > > class Foo > { > const(Bar) * _b; > > void SetBar(const(Bar) * b) { > _b = b; > } > } > > void main() > { > auto b = new Bar(); > auto f = new Foo(); > f.SetBar(&b); > } > > Ali Hmm... That's good. Thanks.