...

/

Smart Pointers: Cyclic References

Smart Pointers: Cyclic References

In this lesson, we'll examine how the use of shared pointers can create a reference cycle and why this could be harmful.

We'll cover the following...

You get cyclic references of std::shared_ptr if they refer to each other.

The Issue

If you ...