Comment Comment by kazinator You can make a pointer-based graph structure with cycles in C++ without a fuss. You can decide how the memory managed and implement exactly that with minimal barriers in your way. parent kazinator 1 year ago