A
Anthony
Hi,
I've got a question:
Does overloading new in a base class, works for for its derived classes?
context:
I want to allocate a specific class (state) and it's subclasses on a self
made stack.
Does anything go wrong when I do the following:
- overload new for class state
- add the stack as extra parameter to this new
Does this work for subclasses of state?
thanks in regard,
Anthony Lansbergen
I've got a question:
Does overloading new in a base class, works for for its derived classes?
context:
I want to allocate a specific class (state) and it's subclasses on a self
made stack.
Does anything go wrong when I do the following:
- overload new for class state
- add the stack as extra parameter to this new
Does this work for subclasses of state?
thanks in regard,
Anthony Lansbergen