08.11.2014 Views

Memory Management - Poco

Memory Management - Poco

Memory Management - Poco

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

#include "<strong>Poco</strong>/DynamicFactory.h"<br />

using <strong>Poco</strong>::DynamicFactory;<br />

using <strong>Poco</strong>::AbstractInstantiator;<br />

class Base<br />

{<br />

};<br />

class A: public Base<br />

{<br />

};<br />

class C: public Base<br />

{<br />

public:<br />

C(int i): _i(i)<br />

{<br />

}<br />

private:<br />

int _i;<br />

};

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!