title: Can I implement the Factory Method pattern in C++ without using new?
body: <p>I'm working in an embedded environment (Arduino/AVR ATMega328) and want to implement the Factory Method pattern in C++. However, the compiler I'm using (avr-gcc) doesn't support the <code>new</code> keyword. Is there a way of implementing this pattern without using <code>new</code>?</p>