in reply to Re^2: Using a factory class to return objects of the same classin thread Using a factory class to return objects of the same class