You don't need to use dereference operator. Example:
http://dpaste.dzfl.pl/d34c23e5

import std.stdio;
struct Foo {
  void answer() {
    writeln("As you wish!");
  }
}

void main() {
  Foo veryVeryLongNamedStruct;
  auto v = &veryVeryLongNamedStruct;
  v.answer();
}

Reply via email to