Re: [PATCH 1/2] include: add a generic class factory template