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

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?

grails record upload problems

how i emanate permitted url asp.net mvc?