All Questions
Tagged with data-structures compiler-checks
1 question
26
votes
5
answers
875
views
Can "no cyclic data structures" be enforced at compile time?
When using reference counting for garbage collection, memory leaks can occur when cyclic structures are created (an object which contains a pointer to itself, or a pointer to an object with a pointer ...