64,647
社区成员
发帖
与我相关
我的任务
分享
class Config
{
// somethings other...
};
class B;
class C;
class A
{
private:
std::shared_ptr<Config> m_spConfig;
B* m_pP_;
// somethings other...
};
class B
{
private:
std::shared_ptr<Config> m_spConfig;
C* m_pP_;
// somethings other...
};
class C
{
private:
std::shared_ptr<Config> m_spConfig;
// somethings other...
};