Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 ...
rydwolf's user avatar
  • 4,572