What i am looking for is something like the following.class Foo { int a, b, c; } void main() { void[] buffer = new void[1024]; auto foo = createAt!(Foo)(buffer.ptr); } Where the createAt!(Foo) creates a class of the type Foo at the specified pointer.
emplace() is what you are looking for (found inexplicably in std.conv).
http://dlang.org/phobos/std_conv.html#.emplace