Top "Cyclic-reference" questions

A cyclic reference is established if object A holds a reference to B while B holds a reference to A.

Circular (or cyclic) imports in Python

What will happen if two modules import each other? To generalize the problem, what about the cyclic imports in Python?

python circular-dependency cyclic-reference
shared_ptr and weak_ptr differences

I am reading Scott Meyers "Effective C++" book. It was mentioned that there are tr1::shared_ptr and tr1::weak_…

c++ c++11 shared-ptr weak-ptr cyclic-reference
Maven says I have a cyclic reference in multi-module project but can't figure out why

I have a multi-module project that looks like this: module1 pom.xml module2 pom.xml pom.xml The pom.xml …

maven multi-module cyclic-reference
C++ ERROR: forward declaration of 'struct...?

cyclical inclusion problem I forward declare one of the classes in the header of the other in an attempt to …

c++ compiler-errors include cyclic-reference
Java Enums: Two enum types, each containing references to each other?

Is there a way to get around the class-loading issues caused by having two enums that reference each other? I …

java oop enums classloader cyclic-reference
shared_ptr and cyclic references

I was trying with the cyclic references for boost::shared_ptr, and devised following sample: class A{ // Trivial class public: …

c++ shared-ptr weak-ptr cyclic-reference
What is a reference cycle in python?

I have looked in the official documentation for python, but i cannot seem to find what a reference cycle is. …

python garbage-collection reference-counting cyclic-reference
Prevent Cyclic references when converting with MapStruct

Today I started using MapStruct to create my Model to DTO converters for my project and i was wondering if …

java cyclic-reference mapstruct
Cycle in the struct layout that doesn't exist

This is a simplified version of some of my code: public struct info { public float a, b; public info? c; …

c# constructor struct member cyclic-reference
C++ cyclic inclusion issue

I have this file logger.hpp: #ifndef _LOGGER_HPP_ #define _LOGGER_HPP_ #include "event.hpp" // Class definitions class Logger { public: /*! * …

c++ include header-files include-guards cyclic-reference