problem with inheritance of FilterStream
Derek Parnell
derek at nomail.afraid.org
Sun Dec 30 14:23:20 PST 2007
Actually, if I was doing this I'd write it more like ...
import std.stream;
import std.stdio : dbg = writefln;
class Foo : FilterStream {
this (Stream stream) {
debug dbg("foo");
super(stream);
}
}
unittest {
debug dbg("begin");
new Foo(null);
debug dbg("end");
}
void main(){}
--
Derek
(skype: derek.j.parnell)
Melbourne, Australia
31/12/2007 9:16:36 AM
More information about the Digitalmars-d-bugs
mailing list