#ifndef _EXAMPLEB_H_ #define _EXAMPLEB_H_ #include #include #include "exampleBInt.h" #include "exampleA.h" class B : public interfaceB, public std::enable_shared_from_this { public: B(std::shared_ptr Aptr); void fooB() override; std::shared_ptr mAptr; }; #endif