All, How can I access a reference to an enclosing class in D? ... something similar to the following Java code: class A { class B { A ref; B() { ref = A.this; } } }