|
#include <memory>
using namespace std;
class B;
class A
{
public:
A( ) {};
~A()
{
int j = 0;
}
//shared_ptr<B> m_spToB;
B* m_spToB;
};
class B
{
public:
B( ) {};
~B()
{
int k = 0;
}
//shared_ptr<A> m_spToA;
A* m_spToA;
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm working as Senior software Engineer since 7 years and interested in MFC and COM programming.