Warning D newb here. Is it possible to define a member function outside of the class/struct like in C++; class x { body void foo(int* i); }; void x::foo(int* i){ *i++; } Or is it just D-like to define everything inside the class/struct body?