Report question

Question: How to design a simple C++ object factory?