#Best practices to deallocate recursive structures

1 messages · Page 1 of 1 (latest)

stuck pagoda
#

What do you mean by recursive structure? Like a linked list?

#

Or a datastructure that contains other datastructures

#

For the latter people often make a deinit that calls deinit on all the inner structures