Eigenpoll : D wish list : function inheritance
Example:
private import std.stdio;
void log()
in{
writefln("start\n");
}
body{
writefln("body\n");
}
out{
writefln("end\n");
}
template(T) void test:T(){
super();
writefln("doing\n");
}
void main(){
test!(log)();
}
output:
start
body
doing
end
Report this item for cleanup