I have a very strange effect, I'm not sure what it is about:
Value: {}
WordV: Value {
Value* get() {}
}
BaseOperator: Value : {
}
Now comes the code using this:
auto op = cast(BaseOperator)(Word.get());
if (op !is null) {...
If get() returns "Value*" it segfaults, if I change it to "Value" it
works. How can this be?
I want to check of the Value returned from get() is a BaseOperator or not. -- Robert M. Münch http://www.saphirion.com smarter | better | faster
