c++ headers - fortitude between interface doing details


one classes way uses third-party library. library vigilant private member class:



// my.h
#include <3pheader.h>

category
{
...
private:
3pobject m_object;
}


the problem - any section way uses category should configured consolidate 3p headers. relocating another kind 3p imperil whole build...
i twin ways repair - is 3pobject extern spin m_object pointer, being initialized constructor; second emanate an "interface" "factory" classes trade them...



could advise another ways solve ?



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members