Ah yes, that could well be the problem. Why don't you break your ConcreteFactory::createFactory and ConcreteFactory::destroyFactory implementations out into ConcreteFactory.cpp file. They're dealing with dynamic memory and will be called infrequently, so there's really no need to try and inline them anyway. That would allow you to just forward declare the various classes in ConcreteFactory.h and hopefully break the circular includes.
Enigma
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement