for example
class A;
{
void doSomething() {}
}
A *a = cast(A *) new A;
then I call a.doSomething(); my program "Segmentation fault"
how could it happened? and how i use it correctly?
3q, please tell me, 3q 3q 3q!!!!!