P
PengYu.UT
Hi,
I saw the following code:
Composition *quick = new Composition(new SimpleCompositor);
SimpleCompositor and Composition are both classes.
My question is how to delete the newed SimpleCompositor object.
Best wishes,
Peng
I saw the following code:
Composition *quick = new Composition(new SimpleCompositor);
SimpleCompositor and Composition are both classes.
My question is how to delete the newed SimpleCompositor object.
Best wishes,
Peng