ttwang@polyslo.CalPoly.EDU (Thomas Wang) (10/13/89)
I forgot how to call a constructor explicitly. Can someone e-mail me
the answer?
int spc[1024];
main()
{
foo* obj = (foo*) spc;
obj->foo(); // foo::foo() is constructor
obj->print();
}
This example blows up in AT&T cfront. Is there another way that is
portable?
-Thomas Wang ("This is a fantastic comedy that Ataru and his wife Lum, an
invader from space, cause excitement involving their neighbors."
- from a badly translated Urusei Yatsura poster)
ttwang@polyslo.calpoly.edu